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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7392/0.7392, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 178.8 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 426.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009766/0.0009769, allocations: 102.3 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001724/0.001724, allocations: 267.3 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005093, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.439, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.288, allocations: 407.9 MB / 1.138 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.288, allocations: 83.83 kB / 1.138 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5107/1.799, allocations: 84.56 MB / 1.221 GB, free: 224 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.945e-06/1.799, allocations: 0 / 1.221 GB, free: 224 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.274e-05/1.799, allocations: 4 kB / 1.221 GB, free: 224 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003622/1.802, allocations: 0.7332 MB / 1.221 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.802, allocations: 16.03 kB / 1.221 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/1.803, allocations: 16.84 kB / 1.221 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.803, allocations: 224 kB / 1.221 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.803, allocations: 16.69 kB / 1.221 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/1.803, allocations: 12.38 kB / 1.221 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/1.803, allocations: 240.7 kB / 1.222 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.803, allocations: 4.188 kB / 1.222 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/1.803, allocations: 11.94 kB / 1.222 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/1.803, allocations: 8 kB / 1.222 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/1.804, allocations: 427.3 kB / 1.222 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/1.805, allocations: 0.9683 MB / 1.223 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/1.805, allocations: 166.5 kB / 1.223 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/1.805, allocations: 56.84 kB / 1.223 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.806, allocations: 1.837 MB / 1.225 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.806, allocations: 38.56 kB / 1.225 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.806, allocations: 0 / 1.225 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0002997/1.807, allocations: 143 kB / 1.225 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/1.807, allocations: 51.41 kB / 1.225 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.807, allocations: 179.2 kB / 1.225 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.807, allocations: 29.7 kB / 1.226 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/1.807, allocations: 139.8 kB / 1.226 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/1.807, allocations: 59.19 kB / 1.226 GB, free: 218 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/1.807, allocations: 4 kB / 1.226 GB, free: 218 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.807, allocations: 326.8 kB / 1.226 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/1.807, allocations: 31.98 kB / 1.226 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/1.807, allocations: 146.7 kB / 1.226 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.807, allocations: 200.6 kB / 1.226 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.807, allocations: 0 / 1.226 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002523/1.808, allocations: 209.2 kB / 1.227 GB, free: 217 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.808, allocations: 8 kB / 1.227 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.808, allocations: 4 kB / 1.227 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.808, allocations: 4 kB / 1.227 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/1.808, allocations: 59.91 kB / 1.227 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.808, allocations: 7.938 kB / 1.227 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/1.808, allocations: 32.03 kB / 1.227 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/1.808, allocations: 23.98 kB / 1.227 GB, free: 216.9 MB / 0.6823 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 9.088e-05/1.808, allocations: 129.7 kB / 1.227 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/1.808, allocations: 15.81 kB / 1.227 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/1.808, allocations: 157.2 kB / 1.227 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.808, allocations: 3.938 kB / 1.227 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.808, allocations: 0 / 1.227 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.808, allocations: 7.922 kB / 1.227 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1.809, allocations: 213.5 kB / 1.227 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.809, allocations: 4 kB / 1.227 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/1.809, allocations: 39.91 kB / 1.227 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.809, allocations: 0 / 1.227 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.809, allocations: 11.98 kB / 1.227 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.809, allocations: 0 / 1.227 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.809, allocations: 0 / 1.227 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/1.809, allocations: 219.2 kB / 1.227 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/1.809, allocations: 113 kB / 1.228 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.809, allocations: 4 kB / 1.228 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.809, allocations: 19.98 kB / 1.228 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/1.809, allocations: 11.92 kB / 1.228 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/1.809, allocations: 12 kB / 1.228 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.927e-05/1.809, allocations: 120 kB / 1.228 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.809, allocations: 0 / 1.228 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004196/1.81, allocations: 87.83 kB / 1.228 GB, free: 215.6 MB / 0.6823 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.0003126/1.81, allocations: 242.4 kB / 1.228 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001941/1.81, allocations: 116.6 kB / 1.228 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.81, allocations: 0 / 1.228 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/1.81, allocations: 43.98 kB / 1.228 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/1.811, allocations: 54.77 kB / 1.228 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/1.811, allocations: 435.4 kB / 1.229 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/1.812, allocations: 0.7092 MB / 1.229 GB, free: 214 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001752/1.812, allocations: 57.05 kB / 1.229 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/1.812, allocations: 23.44 kB / 1.229 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/1.812, allocations: 4 kB / 1.229 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.006559/1.818, allocations: 4.277 MB / 1.234 GB, free: 209.6 MB / 0.6823 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)