Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001223/0.001223, allocations: 188.5 kB / 376.9 MB, free: 1.789 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.301/1.301, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009515/0.0009516, allocations: 102.2 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2341, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6192/0.8533, allocations: 160.1 MB / 1.139 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004048/0.8574, allocations: 2.933 MB / 1.141 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.8578, allocations: 10.56 kB / 1.141 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.8585, allocations: 177.7 kB / 1.142 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.8603, allocations: 0.7287 MB / 1.142 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.861, allocations: 304.8 kB / 1.143 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.8622, allocations: 1.221 MB / 1.144 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.8625, allocations: 216.5 kB / 1.144 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.8629, allocations: 291.7 kB / 1.144 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008742/0.8638, allocations: 295.1 kB / 1.145 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.8639, allocations: 13.47 kB / 1.145 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.865, allocations: 0.7414 MB / 1.145 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.8652, allocations: 117.9 kB / 1.145 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.8654, allocations: 196.3 kB / 1.146 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0009217/0.8664, allocations: 0.765 MB / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8664, allocations: 0 / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8664, allocations: 0 / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8664, allocations: 0 / 1.146 GB, free: 13.43 MB / 0.7605 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.00123/0.8676, allocations: 0.7178 MB / 1.147 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8677, allocations: 9.438 kB / 1.147 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009408/0.8686, allocations: 141.9 kB / 1.147 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.8691, allocations: 391.1 kB / 1.148 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.8692, allocations: 18.31 kB / 1.148 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.8692, allocations: 27.62 kB / 1.148 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.8696, allocations: 274.3 kB / 1.148 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.8697, allocations: 7.344 kB / 1.148 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.8697, allocations: 8 kB / 1.148 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.8697, allocations: 9.719 kB / 1.148 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.87, allocations: 197.3 kB / 1.148 GB, free: 12.29 MB / 0.7605 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.001696/0.8717, allocations: 1.319 MB / 1.149 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.8721, allocations: 191 kB / 1.15 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.8723, allocations: 96.2 kB / 1.15 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.8723, allocations: 0 / 1.15 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.8723, allocations: 42.31 kB / 1.15 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.8723, allocations: 0 / 1.15 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0008945/0.8732, allocations: 398.7 kB / 1.15 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.8733, allocations: 59.69 kB / 1.15 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.8736, allocations: 299.4 kB / 1.15 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.8736, allocations: 25.7 kB / 1.15 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8737, allocations: 201.1 kB / 1.151 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.8738, allocations: 64.34 kB / 1.151 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.8739, allocations: 49.25 kB / 1.151 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.874, allocations: 342.5 kB / 1.151 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.8741, allocations: 60.17 kB / 1.151 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.8743, allocations: 124.1 kB / 1.151 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.8745, allocations: 190.8 kB / 1.151 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8745, allocations: 0.5 kB / 1.151 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003122/0.8748, allocations: 253.7 kB / 1.152 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8749, allocations: 9.125 kB / 1.152 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.8749, allocations: 3.281 kB / 1.152 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8749, allocations: 3.25 kB / 1.152 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.8751, allocations: 56.12 kB / 1.152 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8751, allocations: 0 / 1.152 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.8754, allocations: 21.97 kB / 1.152 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.8754, allocations: 6.594 kB / 1.152 GB, free: 9.57 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.8755, allocations: 160.9 kB / 1.152 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.8756, allocations: 37.5 kB / 1.152 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.8757, allocations: 40.41 kB / 1.152 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8757, allocations: 3.281 kB / 1.152 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.8757, allocations: 4.062 kB / 1.152 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.8757, allocations: 0 / 1.152 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.8762, allocations: 398.5 kB / 1.152 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8762, allocations: 0 / 1.152 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.8763, allocations: 37.44 kB / 1.152 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.8766, allocations: 46.12 kB / 1.152 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8766, allocations: 10.91 kB / 1.152 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.8778, allocations: 1.397 MB / 1.154 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8778, allocations: 0 / 1.154 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.8824, allocations: 3.941 MB / 1.158 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.8825, allocations: 133.1 kB / 1.158 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.8826, allocations: 7.281 kB / 1.158 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.8829, allocations: 21.75 kB / 1.158 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.8829, allocations: 9.719 kB / 1.158 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.8829, allocations: 6.656 kB / 1.158 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001987/0.8831, allocations: 215.2 kB / 1.158 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8831, allocations: 0 / 1.158 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005539/0.8837, allocations: 171.1 kB / 1.158 GB, free: 4.227 MB / 0.7605 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.8839, allocations: 118.9 kB / 1.158 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.8842, allocations: 166.3 kB / 1.159 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8842, allocations: 0.75 kB / 1.159 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.8845, allocations: 203 kB / 1.159 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.8855, allocations: 190.5 kB / 1.159 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.8869, allocations: 1.146 MB / 1.16 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.8873, allocations: 0.8004 MB / 1.161 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.8876, allocations: 62.52 kB / 1.161 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.8877, allocations: 34.66 kB / 1.161 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.8877, allocations: 0 / 1.161 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of Templates: time 0.01002/0.8977, allocations: 6.703 MB / 1.167 GB, free: 1.871 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)