Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4773/0.4773, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.3 MB / 348.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008961, allocations: 97.95 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 8 kB / 0.4901 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4038, allocations: 71.02 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7036/1.107, allocations: 343.3 MB / 0.8947 GB, free: 1.684 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.108, allocations: 72.7 kB / 0.8948 GB, free: 1.645 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04902/1.157, allocations: 20.15 MB / 0.9145 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.865e-06/1.157, allocations: 0 / 0.9145 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.235e-05/1.157, allocations: 4 kB / 0.9145 GB, free: 1.176 MB / 0.5886 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.0008996/1.158, allocations: 478.4 kB / 0.9149 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.158, allocations: 12.03 kB / 0.9149 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.158, allocations: 24.75 kB / 0.915 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/1.158, allocations: 215.4 kB / 0.9152 GB, free: 400 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/1.158, allocations: 20 kB / 0.9152 GB, free: 388 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/1.158, allocations: 12.19 kB / 0.9152 GB, free: 380 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/1.159, allocations: 244.1 kB / 0.9154 GB, free: 176 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.159, allocations: 192 / 0.9154 GB, free: 176 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/1.159, allocations: 19.55 kB / 0.9154 GB, free: 160 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.159, allocations: 4 kB / 0.9154 GB, free: 156 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/1.16, allocations: 428.8 kB / 0.9159 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/1.161, allocations: 0.951 MB / 0.9168 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/1.161, allocations: 171 kB / 0.9169 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.161, allocations: 56.98 kB / 0.917 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.163, allocations: 1.834 MB / 0.9188 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.163, allocations: 42.36 kB / 0.9188 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.266e-06/1.163, allocations: 3.984 kB / 0.9188 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003474/1.163, allocations: 137.6 kB / 0.919 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.163, allocations: 59.03 kB / 0.919 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.163, allocations: 175.9 kB / 0.9192 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.164, allocations: 29.7 kB / 0.9192 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/1.164, allocations: 142.8 kB / 0.9194 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/1.164, allocations: 54.41 kB / 0.9194 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/1.164, allocations: 3.562 kB / 0.9194 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.164, allocations: 326 kB / 0.9197 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/1.164, allocations: 31.3 kB / 0.9197 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/1.164, allocations: 149.5 kB / 0.9199 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/1.164, allocations: 193.8 kB / 0.9201 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.164, allocations: 0 / 0.9201 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003136/1.165, allocations: 209.7 kB / 0.9203 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.165, allocations: 11.98 kB / 0.9203 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.165, allocations: 4 kB / 0.9203 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.165, allocations: 4 kB / 0.9203 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/1.165, allocations: 59.8 kB / 0.9204 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.165, allocations: 11.98 kB / 0.9204 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.165, allocations: 31.44 kB / 0.9204 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/1.165, allocations: 19.62 kB / 0.9204 GB, free: 10.86 MB / 0.6042 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.0001227/1.165, allocations: 125.5 kB / 0.9205 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/1.165, allocations: 15.81 kB / 0.9205 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/1.166, allocations: 162.8 kB / 0.9207 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.166, allocations: 4 kB / 0.9207 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.166, allocations: 0 / 0.9207 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.166, allocations: 3.938 kB / 0.9207 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/1.166, allocations: 219.7 kB / 0.9209 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.166, allocations: 4 kB / 0.9209 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.166, allocations: 31.92 kB / 0.921 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.166, allocations: 0 / 0.921 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.166, allocations: 7.812 kB / 0.921 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.166, allocations: 0 / 0.921 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.166, allocations: 0 / 0.921 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/1.166, allocations: 214.7 kB / 0.9212 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.166, allocations: 115.5 kB / 0.9213 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/1.166, allocations: 8 kB / 0.9213 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/1.167, allocations: 19.8 kB / 0.9213 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/1.167, allocations: 11.92 kB / 0.9213 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.167, allocations: 11.31 kB / 0.9213 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001001/1.167, allocations: 119.9 kB / 0.9214 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/1.167, allocations: 4 kB / 0.9214 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004467/1.167, allocations: 82.61 kB / 0.9215 GB, free: 9.75 MB / 0.6042 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.0003767/1.168, allocations: 197.9 kB / 0.9217 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002323/1.168, allocations: 113.1 kB / 0.9218 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.168, allocations: 4 kB / 0.9218 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/1.168, allocations: 47.42 kB / 0.9219 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/1.168, allocations: 59.75 kB / 0.9219 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/1.169, allocations: 425.7 kB / 0.9223 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.17, allocations: 0.717 MB / 0.923 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002023/1.17, allocations: 45.84 kB / 0.9231 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/1.17, allocations: 26.56 kB / 0.9231 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/1.17, allocations: 0 / 0.9231 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of Templates: time 0.007733/1.178, allocations: 3.514 MB / 0.9265 GB, free: 4.672 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)