Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect") translateModel(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 119.5 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.967/2.967, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Indirect): time 0.1271/1.177, allocations: 115.3 MB / 1.321 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04991/1.227, allocations: 31.14 MB / 1.351 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007187/1.234, allocations: 135.2 kB / 1.352 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009509/1.243, allocations: 2.701 MB / 1.354 GB, free: 7.906 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01639/1.26, allocations: 4.536 MB / 1.359 GB, free: 3.348 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/1.272, allocations: 4.09 MB / 1.363 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02045/1.293, allocations: 11.17 MB / 1.373 GB, free: 4.094 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008018/1.301, allocations: 3.045 MB / 1.376 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/1.313, allocations: 3.683 MB / 1.38 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005911/1.319, allocations: 2.431 MB / 1.382 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002062/1.321, allocations: 356 kB / 1.383 GB, free: 10.51 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/1.332, allocations: 3.713 MB / 1.386 GB, free: 6.793 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00282/1.335, allocations: 1.028 MB / 1.387 GB, free: 5.762 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006051/1.341, allocations: 2.06 MB / 1.389 GB, free: 3.691 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01906/1.36, allocations: 6.96 MB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.36, allocations: 4 kB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.245e-06/1.36, allocations: 0 / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002528/1.36, allocations: 0 / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01513/1.375, allocations: 4.509 MB / 1.401 GB, free: 8.113 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/1.375, allocations: 12.03 kB / 1.401 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/1.381, allocations: 0.842 MB / 1.401 GB, free: 7.254 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/1.392, allocations: 4.134 MB / 1.405 GB, free: 3.059 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/1.392, allocations: 159.8 kB / 1.406 GB, free: 2.902 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009191/1.393, allocations: 223.9 kB / 1.406 GB, free: 2.684 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/1.401, allocations: 2.329 MB / 1.408 GB, free: 276 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/1.401, allocations: 7.938 kB / 1.408 GB, free: 268 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005191/1.401, allocations: 88 kB / 1.408 GB, free: 180 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.206e-05/1.401, allocations: 75.47 kB / 1.408 GB, free: 104 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/1.408, allocations: 2.012 MB / 1.41 GB, free: 14.09 MB / 1.139 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.02283/1.43, allocations: 11.72 MB / 1.422 GB, free: 1.684 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/1.435, allocations: 1.637 MB / 1.423 GB, free: 28 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/1.437, allocations: 0.8922 MB / 1.424 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/1.448, allocations: 5.4 MB / 1.429 GB, free: 9.305 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002535/1.451, allocations: 0.9894 MB / 1.43 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001491/1.452, allocations: 138.4 kB / 1.431 GB, free: 8.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=134): time 7.324e-06/1.453, allocations: 0 / 1.431 GB, free: 8.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=137): time 0.01783/1.47, allocations: 5.73 MB / 1.436 GB, free: 2.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/1.471, allocations: 120.1 kB / 1.436 GB, free: 2.18 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007515/1.478, allocations: 3.085 MB / 1.439 GB, free: 15.11 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004898/1.479, allocations: 61.7 kB / 1.439 GB, free: 15.04 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/1.481, allocations: 1.442 MB / 1.441 GB, free: 13.58 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000818/1.481, allocations: 493 kB / 1.441 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/1.483, allocations: 491.6 kB / 1.442 GB, free: 12.61 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.483, allocations: 301.1 kB / 1.442 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/1.485, allocations: 0.9661 MB / 1.443 GB, free: 11.33 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/1.489, allocations: 1.513 MB / 1.444 GB, free: 9.613 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005102/1.494, allocations: 2.278 MB / 1.447 GB, free: 7.18 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/1.494, allocations: 4 kB / 1.447 GB, free: 7.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007848/1.502, allocations: 3.001 MB / 1.45 GB, free: 4.156 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/1.502, allocations: 12 kB / 1.45 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.502, allocations: 12 kB / 1.45 GB, free: 4.133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/1.503, allocations: 319.2 kB / 1.45 GB, free: 3.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/1.505, allocations: 0.4993 MB / 1.45 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.507, allocations: 1.47 MB / 1.452 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.51, allocations: 163.8 kB / 1.452 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/1.51, allocations: 104 kB / 1.452 GB, free: 1.535 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004066/1.514, allocations: 1.535 MB / 1.454 GB, free: 15.99 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002899/1.517, allocations: 1.47 MB / 1.455 GB, free: 14.31 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004568/1.522, allocations: 2.226 MB / 1.457 GB, free: 11.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.688e-05/1.522, allocations: 4 kB / 1.457 GB, free: 11.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.00753/1.529, allocations: 2.903 MB / 1.46 GB, free: 9.004 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.529, allocations: 12 kB / 1.46 GB, free: 8.992 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.529, allocations: 12 kB / 1.46 GB, free: 8.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.53, allocations: 299.6 kB / 1.46 GB, free: 8.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.532, allocations: 491.3 kB / 1.461 GB, free: 8.203 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/1.535, allocations: 2.562 MB / 1.463 GB, free: 5.477 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.538, allocations: 176.3 kB / 1.463 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.538, allocations: 95.97 kB / 1.464 GB, free: 5.211 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,cooETS.hex.flowRegime_nominal,cooETS.hex.flowRegime,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 234 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,14), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007281/1.539, allocations: 307.7 kB / 1.464 GB, free: 4.902 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.54, allocations: 327.9 kB / 1.464 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/1.547, allocations: 2.496 MB / 1.467 GB, free: 2.066 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00449/1.552, allocations: 2.05 MB / 1.469 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.552, allocations: 0 / 1.469 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.554, allocations: 0.6449 MB / 1.469 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.555, allocations: 31.98 kB / 1.469 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.557, allocations: 144.2 kB / 1.469 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.558, allocations: 97.17 kB / 1.469 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00723/1.565, allocations: 2.416 MB / 1.472 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007999/1.573, allocations: 3.433 MB / 1.475 GB, free: 9.121 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002108/1.575, allocations: 0.9243 MB / 1.476 GB, free: 8.191 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00483/1.58, allocations: 2.047 MB / 1.478 GB, free: 6.16 MB / 1.201 GB Notification: Performance of Backend: time 9.22e-07/1.58, allocations: 0 / 1.478 GB, free: 6.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.596, allocations: 4.574 MB / 1.483 GB, free: 1.773 MB / 1.201 GB Notification: Performance of SimCode: time 0.01804/1.614, allocations: 7.086 MB / 1.489 GB, free: 10.67 MB / 1.217 GB Notification: Performance of Templates: time 0.9953/2.609, allocations: 78.02 MB / 1.566 GB, free: 339.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.sim & ./Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe 2>&1)