Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 62.81 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1806/0.5343, allocations: 162.4 MB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.5398, allocations: 2.914 MB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.5404, allocations: 19.88 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.5413, allocations: 198.8 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.5434, allocations: 0.7738 MB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.5443, allocations: 342.8 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.5457, allocations: 0.9429 MB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.5462, allocations: 258.2 kB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.547, allocations: 338.6 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009194/0.5479, allocations: 282.7 kB / 1.233 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.548, allocations: 32 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.5496, allocations: 0.6547 MB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.5498, allocations: 127.7 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.55, allocations: 218.9 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5511, allocations: 0.7401 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5512, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5512, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5512, allocations: 4 kB / 1.234 GB, free: 15.59 MB / 0.9981 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.001176/0.5524, allocations: 0.7112 MB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5524, allocations: 12.03 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.5535, allocations: 139.4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.5541, allocations: 406.2 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.5541, allocations: 20.56 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.5542, allocations: 24 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.5547, allocations: 275.7 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5547, allocations: 0 / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.5548, allocations: 15.94 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.5548, allocations: 12.5 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.5552, allocations: 198.1 kB / 1.236 GB, free: 13.7 MB / 0.9981 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.001839/0.557, allocations: 1.33 MB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.5574, allocations: 186.9 kB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.5576, allocations: 92.83 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.5576, allocations: 4 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5577, allocations: 34.55 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.5577, allocations: 0 / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001/0.5587, allocations: 407.3 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5587, allocations: 51.41 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.5591, allocations: 300.6 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.5591, allocations: 29.7 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5592, allocations: 192.1 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.5593, allocations: 71 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.5594, allocations: 45.61 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5596, allocations: 342.8 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5597, allocations: 59.97 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.5598, allocations: 123.2 kB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.5601, allocations: 195.6 kB / 1.239 GB, free: 10 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5601, allocations: 0 / 1.239 GB, free: 10 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003573/0.5605, allocations: 250.7 kB / 1.24 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5605, allocations: 11.94 kB / 1.24 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5605, allocations: 4 kB / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5605, allocations: 0 / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.5607, allocations: 43.92 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5607, allocations: 4 kB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.561, allocations: 15.84 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.561, allocations: 12 kB / 1.24 GB, free: 9.664 MB / 0.9981 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.0001653/0.5612, allocations: 161.7 kB / 1.24 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.5613, allocations: 35.56 kB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.5614, allocations: 43.08 kB / 1.24 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5614, allocations: 0 / 1.24 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5614, allocations: 4 kB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5614, allocations: 3.984 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.5619, allocations: 393.4 kB / 1.24 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5619, allocations: 0 / 1.24 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.5621, allocations: 35.92 kB / 1.24 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.5624, allocations: 44.77 kB / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5624, allocations: 11.94 kB / 1.24 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.5637, allocations: 1.512 MB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5637, allocations: 0 / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.5642, allocations: 402 kB / 1.242 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.5644, allocations: 128.7 kB / 1.242 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.5644, allocations: 11.94 kB / 1.242 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.5647, allocations: 12.05 kB / 1.243 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.5647, allocations: 11.98 kB / 1.243 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.5647, allocations: 12 kB / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002696/0.565, allocations: 211.1 kB / 1.243 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.613e-06/0.565, allocations: 0 / 1.243 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004156/0.5654, allocations: 107.8 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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.0001877/0.5656, allocations: 115.8 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.566, allocations: 175.8 kB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.566, allocations: 0 / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.5663, allocations: 200.7 kB / 1.243 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.5673, allocations: 193 kB / 1.243 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5685, allocations: 0.7315 MB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5689, allocations: 0.7958 MB / 1.245 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.5692, allocations: 67.25 kB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.5693, allocations: 27.44 kB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.5693, allocations: 0 / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.5553/1.125, allocations: 6.089 MB / 1.251 GB, free: 184.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)