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.001171/0.001171, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001205/0.001205, allocations: 184 kB / 17.22 MB, free: 5.934 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.152/1.152, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.582/1.582, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001296/0.001296, allocations: 63.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1815, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4409/0.6224, allocations: 162.4 MB / 0.9426 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.6263, allocations: 2.907 MB / 0.9455 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.6268, allocations: 11.94 kB / 0.9455 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.6274, allocations: 202.8 kB / 0.9457 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.629, allocations: 0.7661 MB / 0.9464 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.6297, allocations: 331.7 kB / 0.9468 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.6308, allocations: 0.9239 MB / 0.9477 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.6312, allocations: 262.2 kB / 0.9479 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.6317, allocations: 330.6 kB / 0.9482 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.6324, allocations: 288.8 kB / 0.9485 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.6325, allocations: 36 kB / 0.9485 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.6335, allocations: 0.643 MB / 0.9492 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.6337, allocations: 131.6 kB / 0.9493 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.6339, allocations: 211.1 kB / 0.9495 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.6349, allocations: 0.744 MB / 0.9502 GB, free: 400 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6349, allocations: 4 kB / 0.9502 GB, free: 396 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6349, allocations: 0.8438 kB / 0.9502 GB, free: 396 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.6349, allocations: 0 / 0.9502 GB, free: 396 kB / 0.7325 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.00103/0.636, allocations: 0.7077 MB / 0.9509 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.636, allocations: 12.03 kB / 0.9509 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.6369, allocations: 135.4 kB / 0.951 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.6374, allocations: 398.4 kB / 0.9514 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6375, allocations: 20.56 kB / 0.9514 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.6375, allocations: 35.83 kB / 0.9515 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.6379, allocations: 283.6 kB / 0.9518 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.638, allocations: 1.781 kB / 0.9518 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.638, allocations: 12 kB / 0.9518 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.638, allocations: 8.562 kB / 0.9518 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.6383, allocations: 194.8 kB / 0.952 GB, free: 14.5 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.001528/0.6399, allocations: 1.303 MB / 0.9532 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.6402, allocations: 190.9 kB / 0.9534 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6404, allocations: 92.81 kB / 0.9535 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.6404, allocations: 4 kB / 0.9535 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6404, allocations: 35.06 kB / 0.9535 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.6404, allocations: 0 / 0.9535 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0008527/0.6413, allocations: 403.3 kB / 0.9539 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.6413, allocations: 55.41 kB / 0.954 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.6416, allocations: 296.5 kB / 0.9543 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6416, allocations: 29.7 kB / 0.9543 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.6418, allocations: 196.4 kB / 0.9545 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.6418, allocations: 74.92 kB / 0.9545 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.6419, allocations: 47.39 kB / 0.9546 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.642, allocations: 338.8 kB / 0.9549 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.6421, allocations: 63.97 kB / 0.955 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6423, allocations: 127.9 kB / 0.9551 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.6425, allocations: 188.2 kB / 0.9553 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6425, allocations: 4.844 kB / 0.9553 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000335/0.6429, allocations: 246.3 kB / 0.9555 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6429, allocations: 17.59 kB / 0.9555 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6429, allocations: 0 / 0.9555 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6429, allocations: 4 kB / 0.9555 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.6431, allocations: 47.92 kB / 0.9556 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6431, allocations: 3.938 kB / 0.9556 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.6434, allocations: 22.42 kB / 0.9556 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.6434, allocations: 8 kB / 0.9556 GB, free: 10.47 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.0001382/0.6436, allocations: 153.8 kB / 0.9558 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.6436, allocations: 35.56 kB / 0.9558 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.6437, allocations: 38.36 kB / 0.9558 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6437, allocations: 4 kB / 0.9558 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6437, allocations: 9.328 kB / 0.9558 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6437, allocations: 0 / 0.9558 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.6442, allocations: 405.2 kB / 0.9562 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6442, allocations: 0 / 0.9562 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.6444, allocations: 39.98 kB / 0.9563 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.6446, allocations: 44.77 kB / 0.9563 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6446, allocations: 4 kB / 0.9563 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.6457, allocations: 1.506 MB / 0.9578 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6457, allocations: 0 / 0.9578 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.6462, allocations: 427.2 kB / 0.9582 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.6464, allocations: 128.7 kB / 0.9583 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.6464, allocations: 7.938 kB / 0.9583 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.6466, allocations: 4 kB / 0.9583 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.6467, allocations: 15.98 kB / 0.9583 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6467, allocations: 4 kB / 0.9583 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001948/0.6469, allocations: 215.8 kB / 0.9586 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6469, allocations: 0 / 0.9586 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003561/0.6473, allocations: 99.84 kB / 0.9586 GB, free: 7.137 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.0001391/0.6474, allocations: 123.4 kB / 0.9588 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.6477, allocations: 167.9 kB / 0.9589 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6477, allocations: 4 kB / 0.9589 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.648, allocations: 201.5 kB / 0.9591 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.6488, allocations: 201.1 kB / 0.9593 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.6498, allocations: 0.7151 MB / 0.96 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6501, allocations: 0.7959 MB / 0.9608 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.6503, allocations: 60.39 kB / 0.9608 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.6504, allocations: 27.44 kB / 0.9609 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.6504, allocations: 0 / 0.9609 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of Templates: time 0.01002/0.6604, allocations: 6.147 MB / 0.9669 GB, free: 14.89 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)