Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001809/0.001809, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.9 MB / 0.51 GB, free: 4.805 MB / 414.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.0005774/0.0005776, allocations: 12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.599, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01658/0.6156, allocations: 11.16 MB / 0.7389 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.6185, allocations: 2.124 MB / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.6186, allocations: 0 / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.6189, allocations: 39.8 kB / 0.741 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.6191, allocations: 79.77 kB / 0.7411 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6202, allocations: 396.3 kB / 0.7414 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.6205, allocations: 148.7 kB / 0.7416 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.6206, allocations: 17.55 kB / 0.7416 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009791/0.6304, allocations: 4.318 MB / 0.7458 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.6306, allocations: 71.69 kB / 0.7459 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.6307, allocations: 11.98 kB / 0.7459 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.6338, allocations: 0.9732 MB / 0.7468 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.6339, allocations: 35.89 kB / 0.7469 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.634, allocations: 57.64 kB / 0.7469 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.6345, allocations: 215.4 kB / 0.7471 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6345, allocations: 0 / 0.7471 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6345, allocations: 0 / 0.7471 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.6345, allocations: 4 kB / 0.7471 GB, free: 7.742 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007834/0.6353, allocations: 463.2 kB / 0.7476 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.6354, allocations: 8.031 kB / 0.7476 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.6355, allocations: 23.8 kB / 0.7476 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.6358, allocations: 214.8 kB / 0.7478 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6358, allocations: 12.33 kB / 0.7478 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6359, allocations: 16 kB / 0.7478 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.6362, allocations: 241 kB / 0.7481 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6363, allocations: 0 / 0.7481 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.6363, allocations: 15.94 kB / 0.7481 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.6363, allocations: 8 kB / 0.7481 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.6368, allocations: 431.4 kB / 0.7485 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.6381, allocations: 1.054 MB / 0.7495 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.6385, allocations: 156.9 kB / 0.7497 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.6405, allocations: 1.852 MB / 0.7515 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6405, allocations: 34.56 kB / 0.7515 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.6405, allocations: 0 / 0.7515 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003974/0.6409, allocations: 140.7 kB / 0.7517 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.641, allocations: 59.39 kB / 0.7517 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.6411, allocations: 168.7 kB / 0.7519 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6412, allocations: 25.7 kB / 0.7519 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.6413, allocations: 147.8 kB / 0.752 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.6413, allocations: 59.2 kB / 0.7521 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.6413, allocations: 0 / 0.7521 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6415, allocations: 326.8 kB / 0.7524 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.6416, allocations: 31.98 kB / 0.7524 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6417, allocations: 139.1 kB / 0.7526 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6418, allocations: 59.92 kB / 0.7526 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6418, allocations: 3.953 kB / 0.7526 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002985/0.6421, allocations: 205.4 kB / 0.7528 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6421, allocations: 10.5 kB / 0.7528 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6422, allocations: 4 kB / 0.7528 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6422, allocations: 4 kB / 0.7528 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.6424, allocations: 63.91 kB / 0.7529 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.6424, allocations: 15.86 kB / 0.7529 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.6425, allocations: 27.69 kB / 0.7529 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.6426, allocations: 12.28 kB / 0.753 GB, free: 1.102 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001138/0.6427, allocations: 129.8 kB / 0.7531 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.6427, allocations: 19.77 kB / 0.7531 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.643, allocations: 174.4 kB / 0.7533 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6431, allocations: 0 / 0.7533 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6431, allocations: 0 / 0.7533 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6431, allocations: 0 / 0.7533 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.6433, allocations: 209.5 kB / 0.7535 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6433, allocations: 0 / 0.7535 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6435, allocations: 43.86 kB / 0.7535 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6435, allocations: 0 / 0.7535 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6435, allocations: 15.94 kB / 0.7535 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6435, allocations: 0 / 0.7535 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6435, allocations: 0 / 0.7535 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.6437, allocations: 219.1 kB / 0.7537 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.6439, allocations: 120.9 kB / 0.7538 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.6439, allocations: 7.953 kB / 0.7539 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6441, allocations: 12 kB / 0.7539 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.6441, allocations: 11.92 kB / 0.7539 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.6441, allocations: 15.98 kB / 0.7539 GB, free: 44 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001076/0.6442, allocations: 112 kB / 0.754 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6443, allocations: 0 / 0.754 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003896/0.6447, allocations: 79.91 kB / 0.7541 GB, free: 15.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002805/0.6449, allocations: 167.2 kB / 0.7542 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.6452, allocations: 124.5 kB / 0.7544 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6452, allocations: 0 / 0.7544 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.6453, allocations: 43.98 kB / 0.7544 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.6457, allocations: 51.05 kB / 0.7544 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.6465, allocations: 415.5 kB / 0.7548 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6468, allocations: 0.7172 MB / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.647, allocations: 49.73 kB / 0.7556 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.6471, allocations: 27.42 kB / 0.7556 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6471, allocations: 0 / 0.7556 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.00697/0.6541, allocations: 3.275 MB / 0.7588 GB, free: 10.98 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: