Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct") translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 120 kB / 16.81 MB, free: 5.754 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.001303/0.001303, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.545/1.545, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 58.59 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4153, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.1742/0.5894, allocations: 156.4 MB / 1.415 GB, free: 40 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0568/0.6462, allocations: 34.31 MB / 1.448 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008345/0.6546, allocations: 167.1 kB / 1.448 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.6655, allocations: 3.078 MB / 1.451 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02051/0.686, allocations: 5.713 MB / 1.457 GB, free: 4.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.6995, allocations: 4.477 MB / 1.461 GB, free: 212 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02541/0.7249, allocations: 13.61 MB / 1.475 GB, free: 2.559 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00687/0.7318, allocations: 2.995 MB / 1.478 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01368/0.7455, allocations: 4.431 MB / 1.482 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.7562, allocations: 3.112 MB / 1.485 GB, free: 7.934 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.003602/0.7598, allocations: 404 kB / 1.485 GB, free: 7.539 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.7727, allocations: 2.991 MB / 1.488 GB, free: 4.543 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.7756, allocations: 1.214 MB / 1.489 GB, free: 3.324 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.006423/0.782, allocations: 2.399 MB / 1.492 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.7997, allocations: 7.482 MB / 1.499 GB, free: 9.406 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.7997, allocations: 4 kB / 1.499 GB, free: 9.402 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7997, allocations: 0 / 1.499 GB, free: 9.402 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002323/0.7999, allocations: 0 / 1.499 GB, free: 9.402 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01372/0.8137, allocations: 5.138 MB / 1.504 GB, free: 4.172 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.8137, allocations: 12.03 kB / 1.504 GB, free: 4.16 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.8161, allocations: 0.5984 MB / 1.505 GB, free: 3.559 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.827, allocations: 4.689 MB / 1.509 GB, free: 14.81 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.8272, allocations: 176.4 kB / 1.509 GB, free: 14.63 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006197/0.8278, allocations: 251.8 kB / 1.51 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007169/0.8349, allocations: 2.471 MB / 1.512 GB, free: 11.77 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.859e-05/0.835, allocations: 7.938 kB / 1.512 GB, free: 11.77 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.8353, allocations: 92 kB / 1.512 GB, free: 11.68 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.8354, allocations: 88.22 kB / 1.512 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/0.84, allocations: 1.843 MB / 1.514 GB, free: 9.727 MB / 1.232 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.02146/0.8614, allocations: 13.2 MB / 1.527 GB, free: 11.62 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.8639, allocations: 1.147 MB / 1.528 GB, free: 10.45 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.8651, allocations: 0.6175 MB / 1.529 GB, free: 9.84 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008128/0.8733, allocations: 4.234 MB / 1.533 GB, free: 5.215 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.8748, allocations: 0.7253 MB / 1.534 GB, free: 4.473 MB / 1.248 GB Notification: Performance of pre-optimization done (n=123): time 3.175e-06/0.8748, allocations: 3.938 kB / 1.534 GB, free: 4.469 MB / 1.248 GB Notification: Performance of matching and sorting (n=123): time 0.006131/0.881, allocations: 2.179 MB / 1.536 GB, free: 2.262 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.8811, allocations: 119.8 kB / 1.536 GB, free: 2.117 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005948/0.887, allocations: 3.525 MB / 1.539 GB, free: 14.56 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.8873, allocations: 53.7 kB / 1.539 GB, free: 14.5 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.8894, allocations: 1.786 MB / 1.541 GB, free: 12.71 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.8901, allocations: 472 kB / 1.542 GB, free: 12.24 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008522/0.8909, allocations: 467.8 kB / 1.542 GB, free: 11.78 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002363/0.8912, allocations: 309.1 kB / 1.542 GB, free: 11.47 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.8927, allocations: 0.759 MB / 1.543 GB, free: 10.71 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.895, allocations: 1.382 MB / 1.544 GB, free: 9.07 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.8986, allocations: 2.018 MB / 1.546 GB, free: 6.844 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.8986, allocations: 8 kB / 1.546 GB, free: 6.836 MB / 1.264 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.005805/0.9044, allocations: 2.592 MB / 1.549 GB, free: 4.234 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.9044, allocations: 13.25 kB / 1.549 GB, free: 4.223 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.9044, allocations: 16 kB / 1.549 GB, free: 4.207 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.905, allocations: 136.7 kB / 1.549 GB, free: 4.07 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.9067, allocations: 455.3 kB / 1.549 GB, free: 3.625 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007271/0.9074, allocations: 0.6655 MB / 1.55 GB, free: 2.934 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.9101, allocations: 258.5 kB / 1.55 GB, free: 2.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.9103, allocations: 91.98 kB / 1.55 GB, free: 2.59 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003032/0.9133, allocations: 1.453 MB / 1.552 GB, free: 1.129 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.8059/1.719, allocations: 1.358 MB / 1.553 GB, free: 278.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003715/1.723, allocations: 1.993 MB / 1.555 GB, free: 277.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.807e-05/1.723, allocations: 4.344 kB / 1.555 GB, free: 277.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005435/1.728, allocations: 2.529 MB / 1.558 GB, free: 277.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1.728, allocations: 11.98 kB / 1.558 GB, free: 277.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/1.728, allocations: 14.75 kB / 1.558 GB, free: 277.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/1.729, allocations: 73.09 kB / 1.558 GB, free: 277.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.731, allocations: 447 kB / 1.558 GB, free: 277.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/1.732, allocations: 1.753 MB / 1.56 GB, free: 275.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/1.735, allocations: 209.6 kB / 1.56 GB, free: 275.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/1.736, allocations: 94.73 kB / 1.56 GB, free: 275.9 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,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 (247): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006079/1.736, allocations: 301.1 kB / 1.56 GB, free: 275.6 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.737, allocations: 384.1 kB / 1.561 GB, free: 275.6 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/1.741, allocations: 1.861 MB / 1.563 GB, free: 274.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/1.744, allocations: 1.242 MB / 1.564 GB, free: 274.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.744, allocations: 2.141 kB / 1.564 GB, free: 274.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.746, allocations: 0.652 MB / 1.564 GB, free: 274.1 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005813/1.746, allocations: 33.55 kB / 1.564 GB, free: 274.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.748, allocations: 79.33 kB / 1.565 GB, free: 274 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.748, allocations: 87.55 kB / 1.565 GB, free: 274 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00415/1.752, allocations: 1.75 MB / 1.566 GB, free: 273.3 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005487/1.758, allocations: 2.711 MB / 1.569 GB, free: 272 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001233/1.759, allocations: 0.6127 MB / 1.57 GB, free: 271.8 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.005619/1.764, allocations: 2.348 MB / 1.572 GB, free: 270.9 MB / 1.264 GB Notification: Performance of Backend: time 1.112e-06/1.764, allocations: 0 / 1.572 GB, free: 270.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.776, allocations: 3.729 MB / 1.576 GB, free: 269.9 MB / 1.264 GB Notification: Performance of SimCode: time 0.01966/1.796, allocations: 8.295 MB / 1.584 GB, free: 266 MB / 1.264 GB Notification: Performance of Templates: time 0.1125/1.908, allocations: 78.21 MB / 1.66 GB, free: 200.6 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.makefile (rm -f Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)