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.623/1.623, allocations: 288.4 MB / 303.7 MB, free: 8.168 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.0009357/0.0009358, allocations: 178.5 kB / 372.3 MB, free: 10.13 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.323/1.323, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.0008032/0.0008031, allocations: 102.3 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006462/0.0006464, allocations: 11.16 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2067, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5174/0.7241, allocations: 147.4 MB / 1.124 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.7277, allocations: 2.707 MB / 1.127 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.7281, allocations: 16.16 kB / 1.127 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.7286, allocations: 160.7 kB / 1.127 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.7301, allocations: 0.6606 MB / 1.128 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.7307, allocations: 244.2 kB / 1.128 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.7317, allocations: 1.042 MB / 1.129 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.732, allocations: 205.2 kB / 1.129 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.7324, allocations: 279.5 kB / 1.129 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.733, allocations: 267.2 kB / 1.13 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.733, allocations: 12.06 kB / 1.13 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.734, allocations: 0.7303 MB / 1.13 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.7342, allocations: 107.8 kB / 1.13 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.7344, allocations: 201.7 kB / 1.131 GB, free: 17.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.7349, allocations: 0.5474 MB / 1.131 GB, free: 17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7349, allocations: 0 / 1.131 GB, free: 17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7349, allocations: 0 / 1.131 GB, free: 17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.735, allocations: 0 / 1.131 GB, free: 17 MB / 0.698 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.0007974/0.7358, allocations: 0.6417 MB / 1.132 GB, free: 16.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.7358, allocations: 7.562 kB / 1.132 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.7367, allocations: 140.6 kB / 1.132 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.7372, allocations: 399.9 kB / 1.132 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7372, allocations: 24.03 kB / 1.132 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.7372, allocations: 24.97 kB / 1.132 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.7376, allocations: 278.1 kB / 1.133 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7376, allocations: 0 / 1.133 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7377, allocations: 8.844 kB / 1.133 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.7377, allocations: 13.22 kB / 1.133 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.738, allocations: 199.5 kB / 1.133 GB, free: 16.16 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.001413/0.7394, allocations: 1.32 MB / 1.134 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.7397, allocations: 191.2 kB / 1.134 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.7399, allocations: 90.11 kB / 1.134 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.7399, allocations: 7 kB / 1.134 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7399, allocations: 33.81 kB / 1.134 GB, free: 15.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.7399, allocations: 0 / 1.134 GB, free: 15.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.000834/0.7408, allocations: 406.8 kB / 1.135 GB, free: 15.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.7408, allocations: 54.09 kB / 1.135 GB, free: 15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.7411, allocations: 294.1 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.7411, allocations: 28.95 kB / 1.135 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7413, allocations: 194.8 kB / 1.135 GB, free: 14.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.7414, allocations: 73.36 kB / 1.135 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.7414, allocations: 4.859 kB / 1.135 GB, free: 14.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7415, allocations: 343.9 kB / 1.136 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.7416, allocations: 61.91 kB / 1.136 GB, free: 14.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7418, allocations: 118.1 kB / 1.136 GB, free: 14.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.742, allocations: 195.7 kB / 1.136 GB, free: 14.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7421, allocations: 0 / 1.136 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003744/0.7424, allocations: 245.6 kB / 1.136 GB, free: 14.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7425, allocations: 15.42 kB / 1.136 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7425, allocations: 2.906 kB / 1.136 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7425, allocations: 2.938 kB / 1.136 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.7427, allocations: 44.36 kB / 1.136 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7428, allocations: 2.969 kB / 1.136 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.7431, allocations: 21.92 kB / 1.136 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.7431, allocations: 13.05 kB / 1.136 GB, free: 14.17 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.0001642/0.7433, allocations: 165.8 kB / 1.137 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.7434, allocations: 34.16 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.7435, allocations: 37.95 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7435, allocations: 1.969 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7435, allocations: 3.219 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7435, allocations: 2.344 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.744, allocations: 397.4 kB / 1.137 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.744, allocations: 2.25 kB / 1.137 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.7442, allocations: 35.84 kB / 1.137 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.7445, allocations: 48.67 kB / 1.137 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.7445, allocations: 5.438 kB / 1.137 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.7457, allocations: 1.407 MB / 1.138 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7457, allocations: 0 / 1.138 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.7463, allocations: 415.1 kB / 1.139 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.7465, allocations: 130 kB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.7465, allocations: 5.438 kB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.7468, allocations: 16.31 kB / 1.139 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.7469, allocations: 21.69 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.7469, allocations: 10.16 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002103/0.7471, allocations: 209.3 kB / 1.139 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7471, allocations: 0 / 1.139 GB, free: 12.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004507/0.7476, allocations: 100.8 kB / 1.139 GB, free: 12.17 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.0002106/0.7478, allocations: 121.1 kB / 1.139 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.7482, allocations: 167.3 kB / 1.14 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7482, allocations: 384 / 1.14 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.7486, allocations: 205.3 kB / 1.14 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.7497, allocations: 180.1 kB / 1.14 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.751, allocations: 0.9524 MB / 1.141 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7514, allocations: 0.7923 MB / 1.142 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002594/0.7516, allocations: 57.66 kB / 1.142 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.7517, allocations: 27.81 kB / 1.142 GB, free: 10.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7517, allocations: 0 / 1.142 GB, free: 10.66 MB / 0.698 GB Notification: Performance of Templates: time 0.01111/0.7628, allocations: 5.773 MB / 1.147 GB, free: 7.852 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)