Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001711/0.001711, allocations: 109.9 kB / 16.42 MB, free: 6.508 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.001808/0.001808, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.482/1.482, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.13, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.1607/1.291, allocations: 155.2 MB / 1.36 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05659/1.348, allocations: 34.2 MB / 1.393 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009646/1.357, allocations: 167 kB / 1.394 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/1.369, allocations: 3.004 MB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.02205/1.391, allocations: 5.449 MB / 1.402 GB, free: 6.992 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01443/1.406, allocations: 4.4 MB / 1.406 GB, free: 2.621 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02514/1.431, allocations: 13.55 MB / 1.419 GB, free: 5.035 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/1.441, allocations: 3.663 MB / 1.423 GB, free: 1.309 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/1.456, allocations: 4.404 MB / 1.427 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007542/1.463, allocations: 2.96 MB / 1.43 GB, free: 9.926 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002287/1.466, allocations: 408 kB / 1.431 GB, free: 9.527 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/1.476, allocations: 2.941 MB / 1.433 GB, free: 6.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002954/1.479, allocations: 1.168 MB / 1.435 GB, free: 5.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007264/1.486, allocations: 2.402 MB / 1.437 GB, free: 2.996 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/1.505, allocations: 7.451 MB / 1.444 GB, free: 11.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.505, allocations: 0 / 1.444 GB, free: 11.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.316e-06/1.505, allocations: 4 kB / 1.444 GB, free: 11.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003131/1.506, allocations: 4 kB / 1.444 GB, free: 11.52 MB / 1.17 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.01677/1.522, allocations: 4.984 MB / 1.449 GB, free: 6.441 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/1.523, allocations: 8.031 kB / 1.449 GB, free: 6.434 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/1.526, allocations: 0.5801 MB / 1.45 GB, free: 5.848 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/1.538, allocations: 4.642 MB / 1.454 GB, free: 1.145 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/1.538, allocations: 184.4 kB / 1.454 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009878/1.539, allocations: 251.8 kB / 1.455 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007762/1.547, allocations: 2.463 MB / 1.457 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/1.547, allocations: 15.92 kB / 1.457 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000608/1.548, allocations: 92 kB / 1.457 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/1.548, allocations: 84.23 kB / 1.457 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/1.553, allocations: 1.843 MB / 1.459 GB, free: 12.06 MB / 1.186 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.02314/1.576, allocations: 13.17 MB / 1.472 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/1.579, allocations: 1.224 MB / 1.473 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.58, allocations: 0.6717 MB / 1.474 GB, free: 12.05 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008631/1.589, allocations: 4.222 MB / 1.478 GB, free: 7.441 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/1.591, allocations: 0.7232 MB / 1.478 GB, free: 6.695 MB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 7.945e-06/1.591, allocations: 0 / 1.478 GB, free: 6.695 MB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.006599/1.597, allocations: 2.161 MB / 1.481 GB, free: 4.508 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/1.598, allocations: 115.8 kB / 1.481 GB, free: 4.367 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008602/1.606, allocations: 3.521 MB / 1.484 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003177/1.606, allocations: 53.7 kB / 1.484 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.609, allocations: 1.756 MB / 1.486 GB, free: 14.99 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007576/1.61, allocations: 449.6 kB / 1.486 GB, free: 14.54 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/1.611, allocations: 479.6 kB / 1.487 GB, free: 14.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.611, allocations: 305.1 kB / 1.487 GB, free: 13.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/1.613, allocations: 0.7551 MB / 1.488 GB, free: 13.01 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/1.615, allocations: 1.393 MB / 1.489 GB, free: 11.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.619, allocations: 2.03 MB / 1.491 GB, free: 9.121 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/1.619, allocations: 4 kB / 1.491 GB, free: 9.117 MB / 1.217 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.006179/1.625, allocations: 2.582 MB / 1.494 GB, free: 6.523 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.625, allocations: 8 kB / 1.494 GB, free: 6.516 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/1.625, allocations: 20 kB / 1.494 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/1.626, allocations: 128.7 kB / 1.494 GB, free: 6.367 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.627, allocations: 447.3 kB / 1.494 GB, free: 5.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007356/1.628, allocations: 0.6654 MB / 1.495 GB, free: 5.238 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.631, allocations: 253.6 kB / 1.495 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/1.632, allocations: 99.91 kB / 1.495 GB, free: 4.891 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003115/1.635, allocations: 1.449 MB / 1.497 GB, free: 3.438 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001995/1.637, allocations: 1.358 MB / 1.498 GB, free: 1.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003141/1.64, allocations: 1.99 MB / 1.5 GB, free: 15.62 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.101e-05/1.64, allocations: 4 kB / 1.5 GB, free: 15.61 MB / 1.232 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005416/1.645, allocations: 2.519 MB / 1.502 GB, free: 13.08 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.645, allocations: 12 kB / 1.502 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.645, allocations: 16 kB / 1.502 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/1.646, allocations: 64.83 kB / 1.502 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.647, allocations: 459.3 kB / 1.503 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/1.649, allocations: 1.732 MB / 1.505 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.652, allocations: 210.8 kB / 1.505 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.652, allocations: 91.97 kB / 1.505 GB, free: 10.37 MB / 1.232 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.0006236/1.653, allocations: 311.6 kB / 1.505 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.654, allocations: 359.4 kB / 1.506 GB, free: 9.699 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/1.658, allocations: 1.865 MB / 1.507 GB, free: 7.816 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002313/1.661, allocations: 1.249 MB / 1.509 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.661, allocations: 0 / 1.509 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.663, allocations: 0.6327 MB / 1.509 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.664, allocations: 28 kB / 1.509 GB, free: 5.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.666, allocations: 79.92 kB / 1.509 GB, free: 5.793 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.666, allocations: 77.2 kB / 1.509 GB, free: 5.715 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004112/1.67, allocations: 1.754 MB / 1.511 GB, free: 3.953 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005012/1.675, allocations: 2.69 MB / 1.514 GB, free: 1.242 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001174/1.676, allocations: 0.6622 MB / 1.514 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00558/1.682, allocations: 2.352 MB / 1.517 GB, free: 14.21 MB / 1.248 GB Notification: Performance of Backend: time 5.61e-07/1.682, allocations: 0 / 1.517 GB, free: 14.21 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.694, allocations: 3.902 MB / 1.52 GB, free: 10.5 MB / 1.248 GB Notification: Performance of SimCode: time 0.02042/1.715, allocations: 8.179 MB / 1.528 GB, free: 2.336 MB / 1.248 GB Notification: Performance of Templates: time 0.8685/2.583, allocations: 77.05 MB / 1.604 GB, free: 318.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)