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.606/1.606, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001063/0.001063, allocations: 179.4 kB / 371.8 MB, free: 10.27 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.383/1.383, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.0008226/0.0008226, allocations: 108.2 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003666, allocations: 11.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5691/0.7578, allocations: 136.3 MB / 1.113 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.7623, allocations: 2.836 MB / 1.115 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006641/0.763, allocations: 14.91 kB / 1.115 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009144/0.764, allocations: 213.4 kB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.7664, allocations: 0.7254 MB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.7677, allocations: 429.5 kB / 1.117 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008988/0.7686, allocations: 0.5447 MB / 1.117 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.769, allocations: 185.2 kB / 1.117 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.7694, allocations: 250.2 kB / 1.118 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.7697, allocations: 187.9 kB / 1.118 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.7698, allocations: 11.41 kB / 1.118 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.7705, allocations: 284.3 kB / 1.118 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.7706, allocations: 97.28 kB / 1.118 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.7707, allocations: 101.3 kB / 1.118 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.7713, allocations: 478 kB / 1.119 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.7713, allocations: 0.9062 kB / 1.119 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7713, allocations: 0 / 1.119 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7713, allocations: 0 / 1.119 GB, free: 1.363 MB / 0.6823 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.001092/0.7724, allocations: 0.6389 MB / 1.119 GB, free: 16.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7725, allocations: 13.23 kB / 1.119 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/0.7734, allocations: 132.7 kB / 1.119 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.774, allocations: 386 kB / 1.12 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.774, allocations: 27.42 kB / 1.12 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.7741, allocations: 26.31 kB / 1.12 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.7745, allocations: 269.4 kB / 1.12 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.7746, allocations: 3.984 kB / 1.12 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.7746, allocations: 14.12 kB / 1.12 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.7746, allocations: 8.094 kB / 1.12 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.775, allocations: 197.8 kB / 1.12 GB, free: 16.54 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.001681/0.7766, allocations: 1.314 MB / 1.122 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.777, allocations: 202.3 kB / 1.122 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.7771, allocations: 2.375 kB / 1.122 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.7771, allocations: 35.28 kB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.314e-06/0.7771, allocations: 0 / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0009465/0.7781, allocations: 407 kB / 1.122 GB, free: 15.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7781, allocations: 55.72 kB / 1.122 GB, free: 15.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.7784, allocations: 292.5 kB / 1.123 GB, free: 15.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.7784, allocations: 34.95 kB / 1.123 GB, free: 15.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7786, allocations: 183.1 kB / 1.123 GB, free: 15.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.7786, allocations: 73.73 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.7787, allocations: 8.688 kB / 1.123 GB, free: 15.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7788, allocations: 343.9 kB / 1.123 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.7789, allocations: 61.42 kB / 1.123 GB, free: 14.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.779, allocations: 116 kB / 1.123 GB, free: 14.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.7792, allocations: 87.38 kB / 1.123 GB, free: 14.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7792, allocations: 0 / 1.123 GB, free: 14.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003502/0.7795, allocations: 244.8 kB / 1.124 GB, free: 14.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7796, allocations: 4.812 kB / 1.124 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7796, allocations: 2.469 kB / 1.124 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.7796, allocations: 6.938 kB / 1.124 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.7798, allocations: 45.31 kB / 1.124 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.7798, allocations: 4.609 kB / 1.124 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.7802, allocations: 19.75 kB / 1.124 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7802, allocations: 11.72 kB / 1.124 GB, free: 14.61 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.0001671/0.7804, allocations: 162.8 kB / 1.124 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.7804, allocations: 34.09 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.7805, allocations: 36.66 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.7805, allocations: 2.188 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7805, allocations: 1.125 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7806, allocations: 3.219 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.7811, allocations: 406.5 kB / 1.124 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7811, allocations: 1.031 kB / 1.124 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7813, allocations: 35.14 kB / 1.124 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.7815, allocations: 46.27 kB / 1.124 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.7816, allocations: 5.094 kB / 1.124 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.7827, allocations: 1.411 MB / 1.126 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7827, allocations: 6.312 kB / 1.126 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.7833, allocations: 413 kB / 1.126 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.7834, allocations: 136.9 kB / 1.126 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.7835, allocations: 6.297 kB / 1.126 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.7838, allocations: 17.78 kB / 1.126 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.7838, allocations: 16.84 kB / 1.126 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7839, allocations: 7.438 kB / 1.126 GB, free: 12.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002459/0.7841, allocations: 211.6 kB / 1.127 GB, free: 12.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7841, allocations: 0 / 1.127 GB, free: 12.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004754/0.7846, allocations: 104.7 kB / 1.127 GB, free: 12.61 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.00021/0.7848, allocations: 118.3 kB / 1.127 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.7851, allocations: 160.3 kB / 1.127 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7851, allocations: 0 / 1.127 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.7854, allocations: 202.3 kB / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.7863, allocations: 185.9 kB / 1.127 GB, free: 12.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.7875, allocations: 0.9403 MB / 1.128 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.7879, allocations: 0.802 MB / 1.129 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.7882, allocations: 56.42 kB / 1.129 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.7883, allocations: 28.22 kB / 1.129 GB, free: 11.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.7883, allocations: 5.797 kB / 1.129 GB, free: 11.11 MB / 0.698 GB Notification: Performance of Templates: time 0.0106/0.7989, allocations: 5.669 MB / 1.135 GB, free: 8.934 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)