Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7962/0.7962, 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.001116/0.001116, allocations: 189.7 kB / 187.3 MB, free: 11.9 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.593/1.593, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0008738/0.0008739, allocations: 94.44 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 274.4 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 6.21e-05/6.225e-05, allocations: 11.98 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.566, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8793/1.445, allocations: 397.8 MB / 1.153 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/1.446, allocations: 80.55 kB / 1.153 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05985/1.505, allocations: 25.91 MB / 1.178 GB, free: 4.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/1.505, allocations: 0 / 1.178 GB, free: 4.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.506, allocations: 4 kB / 1.178 GB, free: 4.203 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.0007882/1.506, allocations: 492 kB / 1.179 GB, free: 3.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.506, allocations: 12.02 kB / 1.179 GB, free: 3.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/1.507, allocations: 19.81 kB / 1.179 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/1.507, allocations: 217.7 kB / 1.179 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.507, allocations: 12.08 kB / 1.179 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/1.507, allocations: 23.61 kB / 1.179 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/1.507, allocations: 234.2 kB / 1.179 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.507, allocations: 0 / 1.179 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/1.507, allocations: 7.188 kB / 1.179 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/1.507, allocations: 8 kB / 1.179 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/1.508, allocations: 429.3 kB / 1.18 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.509, allocations: 1.036 MB / 1.181 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/1.509, allocations: 149.2 kB / 1.181 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.509, allocations: 63.45 kB / 1.181 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4528/1.962, allocations: 1.95 MB / 1.183 GB, free: 263.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.962, allocations: 35.59 kB / 1.183 GB, free: 263.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/1.962, allocations: 0 / 1.183 GB, free: 263.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003727/1.963, allocations: 114.7 kB / 1.183 GB, free: 263.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.963, allocations: 55.73 kB / 1.183 GB, free: 263.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/1.963, allocations: 156.1 kB / 1.183 GB, free: 263.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.963, allocations: 30.45 kB / 1.183 GB, free: 263.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/1.963, allocations: 142.5 kB / 1.183 GB, free: 263.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/1.963, allocations: 57.16 kB / 1.183 GB, free: 263.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/1.963, allocations: 10.59 kB / 1.183 GB, free: 263.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/1.963, allocations: 324.7 kB / 1.184 GB, free: 263.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/1.963, allocations: 32.92 kB / 1.184 GB, free: 263.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/1.963, allocations: 142 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/1.963, allocations: 59.14 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.963, allocations: 5.797 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003886/1.964, allocations: 204.8 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/1.964, allocations: 6.344 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.964, allocations: 4.094 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.964, allocations: 6.031 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.964, allocations: 61.28 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/1.964, allocations: 8.797 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.964, allocations: 25.31 kB / 1.184 GB, free: 263 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/1.964, allocations: 17.97 kB / 1.184 GB, free: 263 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 8.303e-05/1.965, allocations: 122.2 kB / 1.184 GB, free: 262.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/1.965, allocations: 20.48 kB / 1.184 GB, free: 262.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/1.965, allocations: 156.6 kB / 1.184 GB, free: 262.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.965, allocations: 2.266 kB / 1.184 GB, free: 262.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.965, allocations: 0 / 1.184 GB, free: 262.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.965, allocations: 2.438 kB / 1.184 GB, free: 262.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/1.965, allocations: 221.1 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.965, allocations: 0.7031 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.965, allocations: 31.22 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.965, allocations: 1.266 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.965, allocations: 9.5 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.966, allocations: 2.391 kB / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.966, allocations: 0 / 1.185 GB, free: 262.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/1.966, allocations: 218.5 kB / 1.185 GB, free: 262.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/1.966, allocations: 115.2 kB / 1.185 GB, free: 262.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/1.966, allocations: 9.75 kB / 1.185 GB, free: 262.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.966, allocations: 15.69 kB / 1.185 GB, free: 262.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/1.966, allocations: 13.27 kB / 1.185 GB, free: 262.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/1.966, allocations: 6.844 kB / 1.185 GB, free: 262.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.966e-05/1.966, allocations: 121.5 kB / 1.185 GB, free: 262.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.222e-06/1.966, allocations: 7.328 kB / 1.185 GB, free: 262.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004608/1.967, allocations: 90.91 kB / 1.185 GB, free: 262.3 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.0004084/1.967, allocations: 216.4 kB / 1.185 GB, free: 262.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002646/1.967, allocations: 113.3 kB / 1.185 GB, free: 262.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.967, allocations: 1.812 kB / 1.185 GB, free: 262.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/1.968, allocations: 47.42 kB / 1.186 GB, free: 262.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/1.968, allocations: 46.34 kB / 1.186 GB, free: 262.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/1.969, allocations: 173.8 kB / 1.186 GB, free: 262.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/1.969, allocations: 0.7183 MB / 1.186 GB, free: 261.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.969, allocations: 48.33 kB / 1.186 GB, free: 261.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/1.969, allocations: 23.23 kB / 1.187 GB, free: 261.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.969, allocations: 0 / 1.187 GB, free: 261.4 MB / 0.698 GB Notification: Performance of Templates: time 0.009215/1.978, allocations: 3.723 MB / 1.19 GB, free: 261.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)