Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7463/0.7463, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 183.7 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 441.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 86.88 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 280.1 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.583e-05/4.586e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5774, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.607, allocations: 409.5 MB / 1.164 GB, free: 13.45 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.608, allocations: 91.61 kB / 1.164 GB, free: 13.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7373/2.345, allocations: 87.42 MB / 1.25 GB, free: 216.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/2.345, allocations: 0 / 1.25 GB, free: 216.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.388e-06/2.345, allocations: 4 kB / 1.25 GB, free: 216.7 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003636/2.349, allocations: 0.7335 MB / 1.25 GB, free: 215.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/2.349, allocations: 12.03 kB / 1.25 GB, free: 215.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/2.349, allocations: 23.8 kB / 1.25 GB, free: 215.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/2.349, allocations: 214.8 kB / 1.251 GB, free: 215.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/2.349, allocations: 12.33 kB / 1.251 GB, free: 215.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/2.349, allocations: 16 kB / 1.251 GB, free: 215.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/2.35, allocations: 240.1 kB / 1.251 GB, free: 215.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/2.35, allocations: 0 / 1.251 GB, free: 215.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/2.35, allocations: 8 kB / 1.251 GB, free: 215.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/2.35, allocations: 4 kB / 1.251 GB, free: 215.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/2.35, allocations: 423.5 kB / 1.251 GB, free: 214.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/2.351, allocations: 1.023 MB / 1.252 GB, free: 213.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/2.351, allocations: 164.2 kB / 1.252 GB, free: 213.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/2.351, allocations: 60.86 kB / 1.252 GB, free: 213.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/2.353, allocations: 1.964 MB / 1.254 GB, free: 211.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/2.353, allocations: 38.56 kB / 1.254 GB, free: 211.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/2.353, allocations: 0 / 1.254 GB, free: 211.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0002659/2.353, allocations: 115.5 kB / 1.255 GB, free: 211.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/2.353, allocations: 59.34 kB / 1.255 GB, free: 211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/2.353, allocations: 153.7 kB / 1.255 GB, free: 210.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/2.353, allocations: 33.7 kB / 1.255 GB, free: 210.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/2.353, allocations: 147.7 kB / 1.255 GB, free: 210.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/2.353, allocations: 51.28 kB / 1.255 GB, free: 210.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/2.353, allocations: 4 kB / 1.255 GB, free: 210.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/2.353, allocations: 326.8 kB / 1.255 GB, free: 210.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/2.353, allocations: 36 kB / 1.255 GB, free: 210.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/2.354, allocations: 139.2 kB / 1.255 GB, free: 210 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/2.354, allocations: 51.92 kB / 1.255 GB, free: 210 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/2.354, allocations: 3.984 kB / 1.255 GB, free: 210 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002667/2.354, allocations: 211 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/2.354, allocations: 8 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/2.354, allocations: 4 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/2.354, allocations: 4.469 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/2.354, allocations: 63.86 kB / 1.256 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/2.354, allocations: 7.938 kB / 1.256 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/2.354, allocations: 31.73 kB / 1.256 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/2.354, allocations: 12 kB / 1.256 GB, free: 209.6 MB / 0.698 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 () * 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 7.175e-05/2.354, allocations: 124.9 kB / 1.256 GB, free: 209.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/2.354, allocations: 15.81 kB / 1.256 GB, free: 209.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/2.355, allocations: 158.1 kB / 1.256 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/2.355, allocations: 4 kB / 1.256 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.355, allocations: 3.953 kB / 1.256 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.355, allocations: 7.984 kB / 1.256 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/2.355, allocations: 213.5 kB / 1.256 GB, free: 209.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/2.355, allocations: 0 / 1.256 GB, free: 209.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/2.355, allocations: 35.91 kB / 1.256 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/2.355, allocations: 0 / 1.256 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/2.355, allocations: 3.938 kB / 1.256 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/2.355, allocations: 0 / 1.256 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/2.355, allocations: 4 kB / 1.256 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/2.355, allocations: 221.1 kB / 1.257 GB, free: 208.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/2.355, allocations: 124.8 kB / 1.257 GB, free: 208.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/2.355, allocations: 4 kB / 1.257 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/2.356, allocations: 15.98 kB / 1.257 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/2.356, allocations: 15.92 kB / 1.257 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/2.356, allocations: 15.98 kB / 1.257 GB, free: 208.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.403e-05/2.356, allocations: 116.9 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.356, allocations: 0 / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00048/2.356, allocations: 91.89 kB / 1.257 GB, free: 208.4 MB / 0.698 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 () * 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.0004044/2.357, allocations: 227 kB / 1.257 GB, free: 208.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002261/2.357, allocations: 116.2 kB / 1.257 GB, free: 208.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/2.357, allocations: 0 / 1.257 GB, free: 208.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.423e-05/2.357, allocations: 47.88 kB / 1.257 GB, free: 208 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/2.357, allocations: 40.52 kB / 1.257 GB, free: 208 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/2.358, allocations: 183.8 kB / 1.258 GB, free: 207.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/2.358, allocations: 0.7209 MB / 1.258 GB, free: 207 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001799/2.358, allocations: 53.8 kB / 1.258 GB, free: 207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/2.359, allocations: 23.44 kB / 1.258 GB, free: 206.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/2.359, allocations: 0 / 1.258 GB, free: 206.9 MB / 0.698 GB Notification: Performance of Templates: time 0.008379/2.367, allocations: 4.392 MB / 1.263 GB, free: 202.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)