Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.66/1.66, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.001/0.001001, allocations: 182.1 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008769/0.0008769, allocations: 100.8 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 14.41 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5488/0.7373, allocations: 147.4 MB / 1.123 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.7417, allocations: 2.705 MB / 1.125 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.7423, allocations: 10 kB / 1.125 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.7429, allocations: 144 kB / 1.125 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.7449, allocations: 0.5622 MB / 1.126 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.7458, allocations: 237.5 kB / 1.126 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.7472, allocations: 1.038 MB / 1.127 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.7475, allocations: 208.5 kB / 1.127 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.748, allocations: 275.9 kB / 1.128 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.7484, allocations: 270.2 kB / 1.128 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.7485, allocations: 10.5 kB / 1.128 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.7494, allocations: 319.4 kB / 1.128 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.7495, allocations: 107.7 kB / 1.128 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7496, allocations: 100.1 kB / 1.128 GB, free: 16.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.7502, allocations: 0.4986 MB / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7502, allocations: 2.75 kB / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7502, allocations: 0 / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7502, allocations: 0 / 1.129 GB, free: 16.38 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009699/0.7512, allocations: 0.6416 MB / 1.13 GB, free: 15.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7512, allocations: 7.938 kB / 1.13 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008925/0.7521, allocations: 137.3 kB / 1.13 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.7528, allocations: 399.5 kB / 1.13 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.7528, allocations: 22.92 kB / 1.13 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.7529, allocations: 23.25 kB / 1.13 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.7533, allocations: 272 kB / 1.13 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.7534, allocations: 0 / 1.13 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.7534, allocations: 16.03 kB / 1.13 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.7534, allocations: 9.656 kB / 1.13 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.7537, allocations: 192.6 kB / 1.131 GB, free: 15.54 MB / 0.698 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.001703/0.7554, allocations: 1.322 MB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.7558, allocations: 191.1 kB / 1.132 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.756, allocations: 92.89 kB / 1.132 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.756, allocations: 2.531 kB / 1.132 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.7561, allocations: 38.06 kB / 1.132 GB, free: 14.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.7561, allocations: 1.094 kB / 1.132 GB, free: 14.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001006/0.7571, allocations: 402.9 kB / 1.133 GB, free: 14.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7571, allocations: 57.59 kB / 1.133 GB, free: 14.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.7574, allocations: 293.6 kB / 1.133 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7575, allocations: 32.39 kB / 1.133 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.7576, allocations: 195 kB / 1.133 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.7577, allocations: 70.91 kB / 1.133 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.7577, allocations: 6.156 kB / 1.133 GB, free: 14.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7578, allocations: 339.3 kB / 1.134 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7579, allocations: 65.86 kB / 1.134 GB, free: 13.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.7581, allocations: 116.1 kB / 1.134 GB, free: 13.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.7583, allocations: 198.5 kB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7583, allocations: 0 / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000367/0.7587, allocations: 244.2 kB / 1.134 GB, free: 13.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7587, allocations: 10.66 kB / 1.134 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7588, allocations: 192 / 1.134 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7588, allocations: 7.031 kB / 1.134 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.759, allocations: 48.86 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.759, allocations: 6.984 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.7593, allocations: 20.02 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.7593, allocations: 8.031 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.7595, allocations: 164.5 kB / 1.134 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.7596, allocations: 36.41 kB / 1.134 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.7596, allocations: 45.09 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.7596, allocations: 0 / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7597, allocations: 2.969 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7597, allocations: 1.969 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.7602, allocations: 397.3 kB / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7602, allocations: 0 / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.7604, allocations: 41.64 kB / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.7606, allocations: 42.34 kB / 1.135 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.7607, allocations: 7.812 kB / 1.135 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.7618, allocations: 1.406 MB / 1.136 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7619, allocations: 4.062 kB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.7624, allocations: 415.1 kB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.7625, allocations: 131 kB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.7626, allocations: 3.531 kB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.7628, allocations: 12.77 kB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.7629, allocations: 23.83 kB / 1.137 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7629, allocations: 5.438 kB / 1.137 GB, free: 11.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001986/0.7631, allocations: 211.6 kB / 1.137 GB, free: 11.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7631, allocations: 0 / 1.137 GB, free: 11.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004045/0.7635, allocations: 102.3 kB / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.7637, allocations: 115.2 kB / 1.137 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.764, allocations: 167.7 kB / 1.137 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.764, allocations: 0 / 1.137 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.7643, allocations: 207.6 kB / 1.138 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.7653, allocations: 184.1 kB / 1.138 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.7665, allocations: 0.9476 MB / 1.139 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.7669, allocations: 0.7939 MB / 1.14 GB, free: 10.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.7672, allocations: 60.72 kB / 1.14 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.7672, allocations: 25.69 kB / 1.14 GB, free: 10.04 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/0.7672, allocations: 0 / 1.14 GB, free: 10.04 MB / 0.698 GB Notification: Performance of Templates: time 0.01041/0.7776, allocations: 5.67 MB / 1.145 GB, free: 8.168 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)