Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Heating.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 110 kB / 16.41 MB, free: 6.516 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.002414/0.002415, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.526/1.526, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 71.88 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.185, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1177/1.303, allocations: 115.3 MB / 1.339 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05289/1.356, allocations: 31.14 MB / 1.369 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01006/1.366, allocations: 131.2 kB / 1.369 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/1.376, allocations: 2.751 MB / 1.372 GB, free: 7.902 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01796/1.394, allocations: 4.762 MB / 1.377 GB, free: 3.121 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01326/1.408, allocations: 4.096 MB / 1.381 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0251/1.433, allocations: 11.19 MB / 1.392 GB, free: 3.832 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/1.443, allocations: 3.041 MB / 1.395 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/1.457, allocations: 3.738 MB / 1.398 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/1.463, allocations: 2.425 MB / 1.401 GB, free: 10.54 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002016/1.465, allocations: 360 kB / 1.401 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/1.476, allocations: 3.713 MB / 1.405 GB, free: 6.473 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002512/1.479, allocations: 1.024 MB / 1.406 GB, free: 5.445 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006187/1.485, allocations: 2.06 MB / 1.408 GB, free: 3.375 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01942/1.505, allocations: 6.984 MB / 1.414 GB, free: 12.37 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.505, allocations: 0 / 1.414 GB, free: 12.37 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.715e-06/1.505, allocations: 4 kB / 1.414 GB, free: 12.36 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002539/1.505, allocations: 0 / 1.414 GB, free: 12.36 MB / 1.139 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.01531/1.52, allocations: 4.667 MB / 1.419 GB, free: 7.609 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.52, allocations: 8.031 kB / 1.419 GB, free: 7.602 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/1.526, allocations: 0.8599 MB / 1.42 GB, free: 6.738 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/1.537, allocations: 4.164 MB / 1.424 GB, free: 2.516 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/1.538, allocations: 159.8 kB / 1.424 GB, free: 2.359 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009627/1.539, allocations: 212 kB / 1.424 GB, free: 2.152 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007733/1.546, allocations: 2.34 MB / 1.427 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.634e-05/1.546, allocations: 3.938 kB / 1.427 GB, free: 15.72 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005552/1.547, allocations: 80 kB / 1.427 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.374e-05/1.547, allocations: 75.48 kB / 1.427 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/1.553, allocations: 2.02 MB / 1.429 GB, free: 13.55 MB / 1.154 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.02384/1.577, allocations: 11.74 MB / 1.44 GB, free: 1.121 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/1.581, allocations: 1.625 MB / 1.442 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/1.584, allocations: 0.902 MB / 1.443 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/1.597, allocations: 5.408 MB / 1.448 GB, free: 8.738 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/1.599, allocations: 0.9816 MB / 1.449 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00148/1.601, allocations: 154.8 kB / 1.449 GB, free: 7.586 MB / 1.17 GB Notification: Performance of pre-optimization done (n=134): time 8.657e-06/1.601, allocations: 0 / 1.449 GB, free: 7.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=137): time 0.01717/1.618, allocations: 5.814 MB / 1.455 GB, free: 1.676 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/1.618, allocations: 120.1 kB / 1.455 GB, free: 1.535 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007088/1.625, allocations: 3.093 MB / 1.458 GB, free: 14.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005648/1.626, allocations: 57.7 kB / 1.458 GB, free: 14.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.628, allocations: 1.472 MB / 1.459 GB, free: 12.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008693/1.628, allocations: 0.4996 MB / 1.46 GB, free: 12.4 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/1.63, allocations: 499.8 kB / 1.46 GB, free: 11.91 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.63, allocations: 301.1 kB / 1.461 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/1.633, allocations: 0.9661 MB / 1.462 GB, free: 10.63 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/1.636, allocations: 1.511 MB / 1.463 GB, free: 8.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/1.641, allocations: 2.278 MB / 1.465 GB, free: 6.484 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/1.641, allocations: 4 kB / 1.465 GB, free: 6.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007734/1.648, allocations: 3.015 MB / 1.468 GB, free: 3.449 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.648, allocations: 8 kB / 1.468 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/1.649, allocations: 12 kB / 1.468 GB, free: 3.43 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/1.65, allocations: 321.4 kB / 1.469 GB, free: 3.109 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.652, allocations: 0.4915 MB / 1.469 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/1.654, allocations: 1.465 MB / 1.47 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.657, allocations: 167.9 kB / 1.471 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/1.657, allocations: 99.95 kB / 1.471 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004038/1.661, allocations: 1.539 MB / 1.472 GB, free: 15.29 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003005/1.664, allocations: 1.466 MB / 1.474 GB, free: 13.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004624/1.669, allocations: 2.226 MB / 1.476 GB, free: 11.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.852e-05/1.669, allocations: 4 kB / 1.476 GB, free: 11.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.007128/1.676, allocations: 2.928 MB / 1.479 GB, free: 8.289 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/1.676, allocations: 8 kB / 1.479 GB, free: 8.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/1.676, allocations: 12 kB / 1.479 GB, free: 8.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.677, allocations: 295.2 kB / 1.479 GB, free: 7.977 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.679, allocations: 491.3 kB / 1.479 GB, free: 7.496 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/1.682, allocations: 2.572 MB / 1.482 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/1.685, allocations: 179.8 kB / 1.482 GB, free: 4.586 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/1.685, allocations: 91.97 kB / 1.482 GB, free: 4.496 MB / 1.201 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.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,heaETS.hex.flowRegime_nominal,heaETS.hex.flowRegime,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.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.0007514/1.686, allocations: 304.8 kB / 1.482 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.687, allocations: 341.8 kB / 1.483 GB, free: 3.855 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006691/1.694, allocations: 2.5 MB / 1.485 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004336/1.698, allocations: 2.05 MB / 1.487 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/1.698, allocations: 0 / 1.487 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.7, allocations: 0.6508 MB / 1.488 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009877/1.701, allocations: 32 kB / 1.488 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.704, allocations: 144.2 kB / 1.488 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.704, allocations: 101.2 kB / 1.488 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006861/1.711, allocations: 2.418 MB / 1.491 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007896/1.719, allocations: 3.458 MB / 1.494 GB, free: 8.359 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002126/1.721, allocations: 0.9321 MB / 1.495 GB, free: 7.426 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004992/1.726, allocations: 2.047 MB / 1.497 GB, free: 5.395 MB / 1.217 GB Notification: Performance of Backend: time 1.242e-06/1.726, allocations: 0 / 1.497 GB, free: 5.395 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01521/1.741, allocations: 4.562 MB / 1.501 GB, free: 1.008 MB / 1.217 GB Notification: Performance of SimCode: time 0.01731/1.759, allocations: 7.193 MB / 1.508 GB, free: 9.793 MB / 1.232 GB Notification: Performance of Templates: time 0.9567/2.715, allocations: 78.02 MB / 1.584 GB, free: 320.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1)