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.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001293/0.001293, allocations: 193.8 kB / 16.14 MB, free: 6.688 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.33 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3727, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1767/0.5495, allocations: 160.2 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004649/0.5542, allocations: 2.963 MB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.5547, allocations: 19.88 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.5555, allocations: 179.1 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.5572, allocations: 0.7198 MB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.558, allocations: 318.9 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.5593, allocations: 1.231 MB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.5596, allocations: 214.2 kB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.56, allocations: 290.7 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.5608, allocations: 288.5 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.5609, allocations: 12 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.5622, allocations: 0.7519 MB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.5623, allocations: 111.6 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.5626, allocations: 195 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009228/0.5635, allocations: 0.775 MB / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5635, allocations: 0 / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.41e-07/0.5635, allocations: 0 / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5635, allocations: 4 kB / 1.232 GB, free: 2.148 MB / 0.9825 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.001108/0.5646, allocations: 0.7088 MB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5647, allocations: 12.03 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5657, allocations: 135.4 kB / 1.233 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.5662, allocations: 402.3 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5663, allocations: 16.56 kB / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.5663, allocations: 28 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.5668, allocations: 283.7 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5668, allocations: 0 / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.5668, allocations: 12 kB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.5669, allocations: 8.562 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.5672, allocations: 198.1 kB / 1.233 GB, free: 272 kB / 0.9825 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.001681/0.5689, allocations: 1.322 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.5693, allocations: 194.8 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.5695, allocations: 84.83 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5695, allocations: 4 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5695, allocations: 42.5 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.5695, allocations: 0 / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009173/0.5704, allocations: 404.8 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5705, allocations: 51.41 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.5709, allocations: 304.5 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5709, allocations: 29.7 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.571, allocations: 192.1 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.5711, allocations: 67 kB / 1.236 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/0.5712, allocations: 53.55 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5714, allocations: 338.8 kB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5715, allocations: 63.97 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.5716, allocations: 111.3 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.5719, allocations: 199.6 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.572, allocations: 4 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003927/0.5723, allocations: 246.6 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5724, allocations: 7.938 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5724, allocations: 8.172 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.5724, allocations: 8 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5726, allocations: 43.92 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.5727, allocations: 4 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.573, allocations: 19.84 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.573, allocations: 8 kB / 1.237 GB, free: 12.22 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.0001855/0.5732, allocations: 161.7 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.5733, allocations: 39.56 kB / 1.237 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.5734, allocations: 39.08 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5734, allocations: 4 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5734, allocations: 0 / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.5734, allocations: 3.984 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.574, allocations: 397.4 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.574, allocations: 0 / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5742, allocations: 27.98 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.5745, allocations: 56.69 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.5745, allocations: 7.984 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.5758, allocations: 1.401 MB / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5759, allocations: 0 / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.5764, allocations: 400.4 kB / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.5766, allocations: 128.8 kB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.5766, allocations: 3.938 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5769, allocations: 18.3 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.577, allocations: 19.91 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.577, allocations: 15.94 kB / 1.24 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002705/0.5773, allocations: 215.1 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.066e-06/0.5773, allocations: 0 / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004992/0.5778, allocations: 107.7 kB / 1.24 GB, free: 8.977 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.0002493/0.5781, allocations: 115.2 kB / 1.24 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.5784, allocations: 159.8 kB / 1.24 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5784, allocations: 0 / 1.24 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.5788, allocations: 210.9 kB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.5799, allocations: 188.2 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5812, allocations: 0.8471 MB / 1.242 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5816, allocations: 0.7962 MB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.5819, allocations: 59.25 kB / 1.242 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.582, allocations: 31.44 kB / 1.242 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.582, allocations: 0 / 1.242 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.01264/0.5946, allocations: 5.816 MB / 1.248 GB, free: 0.7812 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)