Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 177.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 100.3 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007543, allocations: 13.03 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2395, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.326/1.566, allocations: 250.9 MB / 1.223 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1218/1.688, allocations: 42.61 MB / 1.265 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01427/1.702, allocations: 242.2 kB / 1.265 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0198/1.722, allocations: 2.969 MB / 1.268 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.05408/1.776, allocations: 8.973 MB / 1.277 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.03421/1.81, allocations: 6.003 MB / 1.283 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.03709/1.848, allocations: 10.76 MB / 1.293 GB, free: 9.523 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02001/1.868, allocations: 4.313 MB / 1.297 GB, free: 5.152 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02598/1.894, allocations: 5.407 MB / 1.303 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/1.906, allocations: 3.2 MB / 1.306 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003293/1.909, allocations: 232 kB / 1.306 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/1.931, allocations: 2.789 MB / 1.309 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004195/1.935, allocations: 1.027 MB / 1.31 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.006369/1.941, allocations: 1.373 MB / 1.311 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.02412/1.966, allocations: 7.306 MB / 1.318 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.966, allocations: 0 / 1.318 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.587e-06/1.966, allocations: 0 / 1.318 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004098/1.966, allocations: 4 kB / 1.318 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02409/1.99, allocations: 6.23 MB / 1.324 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.99, allocations: 8.031 kB / 1.324 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/1.995, allocations: 0.7842 MB / 1.325 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0213/2.017, allocations: 4.648 MB / 1.33 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007336/2.018, allocations: 324.1 kB / 1.33 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/2.02, allocations: 439.9 kB / 1.33 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/2.04, allocations: 4.319 MB / 1.334 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002573/2.04, allocations: 19.78 kB / 1.334 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/2.042, allocations: 176 kB / 1.335 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/2.042, allocations: 120 kB / 1.335 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/2.057, allocations: 2.941 MB / 1.338 GB, free: 11.26 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06256/2.12, allocations: 25.16 MB / 1.362 GB, free: 52 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007879/2.128, allocations: 2.759 MB / 1.365 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006221/2.134, allocations: 3.908 MB / 1.369 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/2.134, allocations: 64.56 kB / 1.369 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 9.318e-06/2.134, allocations: 4 kB / 1.369 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.02669/2.161, allocations: 4.061 MB / 1.373 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/2.161, allocations: 77.41 kB / 1.373 GB, free: 3.992 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/2.178, allocations: 4.367 MB / 1.377 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007983/2.179, allocations: 81.7 kB / 1.377 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005316/2.184, allocations: 2.769 MB / 1.38 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/2.186, allocations: 0.7586 MB / 1.381 GB, free: 12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/2.186, allocations: 56 kB / 1.381 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003952/2.187, allocations: 427.8 kB / 1.381 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/2.191, allocations: 0.7825 MB / 1.382 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005728/2.196, allocations: 1.798 MB / 1.384 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/2.201, allocations: 1.069 MB / 1.385 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-05/2.202, allocations: 8 kB / 1.385 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01968/2.221, allocations: 3.496 MB / 1.388 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006194/2.227, allocations: 10.3 MB / 1.398 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/2.228, allocations: 20 kB / 1.398 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/2.234, allocations: 0.5728 MB / 1.399 GB, free: 8.168 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/2.239, allocations: 0.5538 MB / 1.399 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/2.244, allocations: 2.685 MB / 1.402 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.256, allocations: 0.6358 MB / 1.402 GB, free: 4.188 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/2.257, allocations: 136 kB / 1.403 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/2.258, allocations: 4.188 kB / 1.403 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01528/2.273, allocations: 2.806 MB / 1.405 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/2.273, allocations: 23.94 kB / 1.405 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/2.275, allocations: 379 kB / 1.406 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/2.28, allocations: 0.5461 MB / 1.406 GB, free: 248 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/2.3, allocations: 7.801 MB / 1.414 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.312, allocations: 0.5831 MB / 1.414 GB, free: 7.266 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/2.313, allocations: 136 kB / 1.415 GB, free: 7.133 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.005361/2.318, allocations: 0.9967 MB / 1.416 GB, free: 6.125 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002558/2.321, allocations: 0.4978 MB / 1.416 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/2.339, allocations: 3.573 MB / 1.42 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001548/2.339, allocations: 39.97 kB / 1.42 GB, free: 1.941 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/2.339, allocations: 0 / 1.42 GB, free: 1.941 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/2.349, allocations: 2.423 MB / 1.422 GB, free: 15.46 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03588/2.385, allocations: 8.302 MB / 1.43 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/2.385, allocations: 3.984 kB / 1.43 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003955/2.389, allocations: 359.6 kB / 1.43 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/2.391, allocations: 303.1 kB / 1.431 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006036/2.392, allocations: 63.97 kB / 1.431 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/2.395, allocations: 2.506 MB / 1.433 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/2.396, allocations: 4.062 kB / 1.433 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6595/3.055, allocations: 4.421 MB / 1.438 GB, free: 350.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004332/3.059, allocations: 1.023 MB / 1.439 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/3.061, allocations: 47.38 kB / 1.439 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006903/3.068, allocations: 423.3 kB / 1.439 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005534/3.068, allocations: 155.4 kB / 1.439 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004279/3.069, allocations: 116.8 kB / 1.439 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008715/3.078, allocations: 2.896 MB / 1.442 GB, free: 349.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.01e-07/3.078, allocations: 0.5625 kB / 1.442 GB, free: 349.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01818/3.096, allocations: 3.329 MB / 1.445 GB, free: 349.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005304/3.101, allocations: 1.527 MB / 1.447 GB, free: 349.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0137/3.115, allocations: 4.405 MB / 1.451 GB, free: 347.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/3.115, allocations: 2.156 kB / 1.451 GB, free: 347.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/3.119, allocations: 1.227 MB / 1.452 GB, free: 347 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02337/3.142, allocations: 2.633 MB / 1.455 GB, free: 346.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/3.168, allocations: 10.99 MB / 1.466 GB, free: 340.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006014/3.174, allocations: 2.979 MB / 1.469 GB, free: 339.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009205/3.183, allocations: 1.168 MB / 1.47 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/3.185, allocations: 422.6 kB / 1.47 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.272e-06/3.185, allocations: 1.344 kB / 1.47 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.2547/3.44, allocations: 104.1 MB / 1.572 GB, free: 256.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)