Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.0009547/0.0009548, allocations: 182.9 kB / 372 MB, free: 10.25 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.339/1.339, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007616/0.0007617, allocations: 98.84 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005655, allocations: 10.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6043/0.8514, allocations: 147.5 MB / 1.124 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004217/0.8557, allocations: 2.698 MB / 1.126 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.8562, allocations: 11.53 kB / 1.126 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.8567, allocations: 139.8 kB / 1.126 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.8582, allocations: 0.5681 MB / 1.127 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.8588, allocations: 229.6 kB / 1.127 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.8599, allocations: 1.037 MB / 1.128 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.8602, allocations: 189.6 kB / 1.128 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.8607, allocations: 276.7 kB / 1.129 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.8611, allocations: 272.2 kB / 1.129 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.8611, allocations: 13.22 kB / 1.129 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.8618, allocations: 317 kB / 1.129 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.862, allocations: 106.3 kB / 1.129 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.8621, allocations: 98.3 kB / 1.129 GB, free: 16.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.8626, allocations: 0.5005 MB / 1.13 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8627, allocations: 0 / 1.13 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8627, allocations: 0 / 1.13 GB, free: 16.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8627, allocations: 1.094 kB / 1.13 GB, free: 16.93 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.0009271/0.8636, allocations: 0.643 MB / 1.13 GB, free: 16.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.8637, allocations: 17.09 kB / 1.13 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.8645, allocations: 130.4 kB / 1.131 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.865, allocations: 393.3 kB / 1.131 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.8651, allocations: 28.12 kB / 1.131 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.8651, allocations: 22.09 kB / 1.131 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.8655, allocations: 273.7 kB / 1.131 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8655, allocations: 0 / 1.131 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.8656, allocations: 11.22 kB / 1.131 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.8656, allocations: 8.469 kB / 1.131 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.8659, allocations: 200.9 kB / 1.132 GB, free: 16.1 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.001651/0.8676, allocations: 1.317 MB / 1.133 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.8679, allocations: 196.9 kB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.868, allocations: 89.55 kB / 1.133 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.8681, allocations: 1.812 kB / 1.133 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.8681, allocations: 37.81 kB / 1.133 GB, free: 15.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.8681, allocations: 0 / 1.133 GB, free: 15.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008677/0.869, allocations: 401.6 kB / 1.133 GB, free: 15.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.869, allocations: 58.62 kB / 1.134 GB, free: 14.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.8693, allocations: 295.8 kB / 1.134 GB, free: 14.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.8694, allocations: 35.77 kB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.8695, allocations: 187.5 kB / 1.134 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.8696, allocations: 73.5 kB / 1.134 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.8696, allocations: 3.562 kB / 1.134 GB, free: 14.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8697, allocations: 340.8 kB / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/0.8698, allocations: 61.28 kB / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.8699, allocations: 122.2 kB / 1.135 GB, free: 14.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.8701, allocations: 78.12 kB / 1.135 GB, free: 14.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8701, allocations: 0 / 1.135 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003381/0.8704, allocations: 254.8 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8704, allocations: 5.031 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8705, allocations: 0 / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8705, allocations: 3 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.8707, allocations: 43.89 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.8707, allocations: 5.359 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.871, allocations: 23.05 kB / 1.135 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.871, allocations: 16.53 kB / 1.135 GB, free: 14.16 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.0001441/0.8712, allocations: 157.9 kB / 1.135 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.8712, allocations: 34.31 kB / 1.135 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.8713, allocations: 36.2 kB / 1.135 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8713, allocations: 3.031 kB / 1.135 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8713, allocations: 0 / 1.135 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8713, allocations: 3.938 kB / 1.135 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.8718, allocations: 408.7 kB / 1.136 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8718, allocations: 0 / 1.136 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.872, allocations: 36.22 kB / 1.136 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.8722, allocations: 46.77 kB / 1.136 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8722, allocations: 8.188 kB / 1.136 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.8733, allocations: 1.403 MB / 1.137 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8733, allocations: 0 / 1.137 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.8738, allocations: 421.5 kB / 1.137 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.8739, allocations: 128.1 kB / 1.138 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.874, allocations: 13.47 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.8742, allocations: 7 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.8743, allocations: 18.16 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.8743, allocations: 8.062 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00018/0.8745, allocations: 209.7 kB / 1.138 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8745, allocations: 0 / 1.138 GB, free: 12.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003966/0.8749, allocations: 107.8 kB / 1.138 GB, free: 12.17 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.0001634/0.875, allocations: 115.2 kB / 1.138 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.8753, allocations: 160.7 kB / 1.138 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8753, allocations: 3.938 kB / 1.138 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.8756, allocations: 201.9 kB / 1.138 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.8766, allocations: 187 kB / 1.139 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.8777, allocations: 0.9474 MB / 1.14 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.878, allocations: 0.7988 MB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.8782, allocations: 59.62 kB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.8783, allocations: 27.44 kB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.8783, allocations: 0 / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of Templates: time 0.009747/0.8881, allocations: 5.665 MB / 1.146 GB, free: 8.074 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)