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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108.8 kB / 16.36 MB, free: 6.477 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.001219/0.001219, allocations: 197.8 kB / 17.3 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 74.88 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1887, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4595/0.6482, allocations: 162.4 MB / 0.9433 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004/0.6523, allocations: 2.903 MB / 0.9462 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.6526, allocations: 15.94 kB / 0.9462 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.6532, allocations: 202.8 kB / 0.9464 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.6549, allocations: 0.7582 MB / 0.9471 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.6556, allocations: 341.1 kB / 0.9475 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.6566, allocations: 0.9358 MB / 0.9484 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.657, allocations: 254.3 kB / 0.9486 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.6575, allocations: 342.4 kB / 0.9489 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008172/0.6583, allocations: 286.2 kB / 0.9492 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.6584, allocations: 36 kB / 0.9492 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6596, allocations: 0.643 MB / 0.9499 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.6598, allocations: 131.6 kB / 0.95 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.66, allocations: 211.1 kB / 0.9502 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009627/0.661, allocations: 0.744 MB / 0.9509 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.661, allocations: 0 / 0.9509 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.784e-06/0.661, allocations: 0 / 0.9509 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.661, allocations: 5.031 kB / 0.9509 GB, free: 15.93 MB / 0.7481 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.001075/0.6621, allocations: 0.7083 MB / 0.9516 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6622, allocations: 8.031 kB / 0.9516 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6632, allocations: 139.4 kB / 0.9518 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.6638, allocations: 394.4 kB / 0.9521 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6638, allocations: 24.55 kB / 0.9522 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.6638, allocations: 27.91 kB / 0.9522 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.6643, allocations: 279.7 kB / 0.9525 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6643, allocations: 3.938 kB / 0.9525 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.6643, allocations: 8 kB / 0.9525 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.6644, allocations: 12.56 kB / 0.9525 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.6647, allocations: 191 kB / 0.9527 GB, free: 14.06 MB / 0.7481 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.001615/0.6663, allocations: 1.307 MB / 0.9539 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.6667, allocations: 198.8 kB / 0.9541 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.6668, allocations: 92.77 kB / 0.9542 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6669, allocations: 4 kB / 0.9542 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.6669, allocations: 34.56 kB / 0.9543 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.6669, allocations: 1.781 kB / 0.9543 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0009098/0.6678, allocations: 404.7 kB / 0.9546 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.6679, allocations: 55.41 kB / 0.9547 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.6682, allocations: 296.5 kB / 0.955 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.6682, allocations: 29.7 kB / 0.955 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6683, allocations: 196.4 kB / 0.9552 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.6684, allocations: 70.95 kB / 0.9553 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.6685, allocations: 45.7 kB / 0.9553 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6686, allocations: 338.8 kB / 0.9556 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.6687, allocations: 60.66 kB / 0.9557 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.6688, allocations: 127.6 kB / 0.9558 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.6691, allocations: 194.6 kB / 0.956 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6691, allocations: 0 / 0.956 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000346/0.6695, allocations: 249.1 kB / 0.9562 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6695, allocations: 11.94 kB / 0.9562 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6695, allocations: 2.75 kB / 0.9562 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6695, allocations: 4 kB / 0.9562 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.6697, allocations: 47.92 kB / 0.9563 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.6697, allocations: 0 / 0.9563 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.67, allocations: 21.19 kB / 0.9563 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.67, allocations: 8 kB / 0.9563 GB, free: 10.03 MB / 0.7481 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.0001385/0.6702, allocations: 158 kB / 0.9565 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.6703, allocations: 35.56 kB / 0.9565 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.6703, allocations: 38.36 kB / 0.9565 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6704, allocations: 7.984 kB / 0.9566 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6704, allocations: 0 / 0.9566 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6704, allocations: 0 / 0.9566 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.6708, allocations: 401.2 kB / 0.9569 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6709, allocations: 3.938 kB / 0.9569 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.6711, allocations: 35.98 kB / 0.957 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.6713, allocations: 52.69 kB / 0.957 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.6713, allocations: 8 kB / 0.957 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.6726, allocations: 1.505 MB / 0.9585 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6726, allocations: 4.031 kB / 0.9585 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.6732, allocations: 417.5 kB / 0.9589 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.6733, allocations: 132.8 kB / 0.959 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.6734, allocations: 11.94 kB / 0.959 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.6736, allocations: 0 / 0.959 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.6737, allocations: 19.97 kB / 0.9591 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6737, allocations: 4 kB / 0.9591 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002046/0.6739, allocations: 215.1 kB / 0.9593 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6739, allocations: 0 / 0.9593 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004084/0.6743, allocations: 99.84 kB / 0.9594 GB, free: 6.68 MB / 0.7481 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.000155/0.6745, allocations: 116 kB / 0.9595 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.6748, allocations: 166.2 kB / 0.9596 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6748, allocations: 4.375 kB / 0.9596 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.6751, allocations: 200.3 kB / 0.9598 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.676, allocations: 205 kB / 0.96 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6771, allocations: 0.723 MB / 0.9607 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6774, allocations: 0.7843 MB / 0.9615 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.6776, allocations: 60.44 kB / 0.9616 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.6777, allocations: 23.44 kB / 0.9616 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.6777, allocations: 4 kB / 0.9616 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of Templates: time 0.009938/0.6876, allocations: 6.147 MB / 0.9676 GB, free: 14.44 MB / 0.7637 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)