Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001239, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4779/0.4779, allocations: 90.8 MB / 104.5 MB, free: 9.789 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.344/1.344, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 101.2 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.11e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3712, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.523, allocations: 413.1 MB / 0.9637 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/1.523, allocations: 68.69 kB / 0.9638 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.4535/1.976, allocations: 195.8 MB / 1.155 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/1.976, allocations: 0 / 1.155 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.976, allocations: 4 kB / 1.155 GB, free: 8.941 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005165/1.982, allocations: 1.23 MB / 1.156 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.982, allocations: 15.92 kB / 1.156 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/1.982, allocations: 48.92 kB / 1.156 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.983, allocations: 80.5 kB / 1.156 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/1.983, allocations: 232.3 kB / 1.157 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/1.983, allocations: 13.12 kB / 1.157 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/1.983, allocations: 10.5 kB / 1.157 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/1.984, allocations: 454 kB / 1.157 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.984, allocations: 4 kB / 1.157 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.984, allocations: 9.25 kB / 1.157 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.984, allocations: 5.219 kB / 1.157 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/1.985, allocations: 0.5897 MB / 1.158 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/1.986, allocations: 0.9026 MB / 1.159 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/1.987, allocations: 253.2 kB / 1.159 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/1.987, allocations: 70.8 kB / 1.159 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4114/2.398, allocations: 34.75 MB / 1.193 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/2.398, allocations: 34.09 kB / 1.193 GB, free: 116 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/2.398, allocations: 0 / 1.193 GB, free: 116 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001434/2.4, allocations: 375.2 kB / 1.193 GB, free: 116 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/2.4, allocations: 51.41 kB / 1.193 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/2.4, allocations: 140.4 kB / 1.193 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/2.4, allocations: 28.02 kB / 1.193 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/2.4, allocations: 114.4 kB / 1.194 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/2.4, allocations: 81.45 kB / 1.194 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/2.4, allocations: 9 kB / 1.194 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.345e-05/2.4, allocations: 323.3 kB / 1.194 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/2.4, allocations: 78.92 kB / 1.194 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/2.4, allocations: 127.8 kB / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/2.4, allocations: 89.89 kB / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/2.401, allocations: 0 / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005626/2.401, allocations: 281.6 kB / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/2.401, allocations: 11.77 kB / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/2.401, allocations: 0 / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/2.401, allocations: 8.672 kB / 1.194 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/2.401, allocations: 81.67 kB / 1.195 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/2.401, allocations: 0.875 kB / 1.195 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/2.402, allocations: 27.19 kB / 1.195 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/2.402, allocations: 26.7 kB / 1.195 GB, free: 115.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.162e-05/2.402, allocations: 118.7 kB / 1.195 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.402, allocations: 21.3 kB / 1.195 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/2.403, allocations: 0.494 MB / 1.195 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/2.403, allocations: 11.36 kB / 1.195 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/2.403, allocations: 0 / 1.195 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.403, allocations: 7.469 kB / 1.195 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/2.404, allocations: 0.8066 MB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.404, allocations: 3.953 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/2.404, allocations: 70.44 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/2.404, allocations: 3.844 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/2.404, allocations: 21.45 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/2.404, allocations: 2.516 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/2.404, allocations: 3.969 kB / 1.196 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/2.405, allocations: 441 kB / 1.197 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/2.405, allocations: 133.5 kB / 1.197 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/2.405, allocations: 3.188 kB / 1.197 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/2.405, allocations: 20.78 kB / 1.197 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/2.405, allocations: 21.34 kB / 1.197 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/2.405, allocations: 31.8 kB / 1.197 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.019e-05/2.405, allocations: 103.8 kB / 1.197 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.405, allocations: 0 / 1.197 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006773/2.412, allocations: 1.668 MB / 1.198 GB, free: 114.4 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: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00942/2.421, allocations: 3.304 MB / 1.202 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004934/2.422, allocations: 253.9 kB / 1.202 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.422, allocations: 6.219 kB / 1.202 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/2.422, allocations: 170.3 kB / 1.202 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/2.423, allocations: 57.66 kB / 1.202 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/2.425, allocations: 0.9848 MB / 1.203 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/2.425, allocations: 0.7369 MB / 1.204 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001214/2.427, allocations: 1.228 MB / 1.205 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/2.427, allocations: 91.58 kB / 1.205 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/2.427, allocations: 0 / 1.205 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07781/2.505, allocations: 51 MB / 1.255 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/2.505, allocations: 137 kB / 1.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/5.681, allocations: 0 / 1.255 GB, free: 110.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)