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.001489/0.001489, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5832/0.5832, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 99.25 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.768e-05, allocations: 7.281 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.396, allocations: 412.5 MB / 0.9564 GB, free: 66.94 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.396, allocations: 73.38 kB / 0.9565 GB, free: 66.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8743/2.271, allocations: 193 MB / 1.145 GB, free: 137 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/2.271, allocations: 0 / 1.145 GB, free: 137 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.355e-05/2.271, allocations: 6.625 kB / 1.145 GB, free: 137 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.005741/2.277, allocations: 1.213 MB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/2.277, allocations: 12.03 kB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/2.278, allocations: 81.52 kB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/2.278, allocations: 226 kB / 1.146 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/2.278, allocations: 8.516 kB / 1.147 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/2.278, allocations: 8 kB / 1.147 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004315/2.278, allocations: 406.3 kB / 1.147 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/2.279, allocations: 208.2 kB / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/2.279, allocations: 0 / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/2.279, allocations: 0 / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/2.279, allocations: 6.188 kB / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/2.28, allocations: 0.8693 MB / 1.148 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/2.28, allocations: 134.5 kB / 1.148 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/2.28, allocations: 73 kB / 1.148 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07404/2.354, allocations: 34.74 MB / 1.182 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/2.354, allocations: 34.12 kB / 1.182 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/2.354, allocations: 0 / 1.182 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001262/2.355, allocations: 282.2 kB / 1.182 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/2.355, allocations: 55.41 kB / 1.182 GB, free: 96.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/2.355, allocations: 117.1 kB / 1.183 GB, free: 96.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/2.355, allocations: 25.7 kB / 1.183 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/2.355, allocations: 108.3 kB / 1.183 GB, free: 96.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/2.356, allocations: 86.75 kB / 1.183 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/2.356, allocations: 0 / 1.183 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/2.356, allocations: 322.8 kB / 1.183 GB, free: 95.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/2.356, allocations: 67.98 kB / 1.183 GB, free: 95.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/2.356, allocations: 122.9 kB / 1.183 GB, free: 95.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/2.357, allocations: 115.9 kB / 1.183 GB, free: 95.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/2.357, allocations: 3.953 kB / 1.183 GB, free: 95.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001099/2.358, allocations: 316.3 kB / 1.184 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/2.358, allocations: 4 kB / 1.184 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/2.358, allocations: 4 kB / 1.184 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/2.358, allocations: 3.938 kB / 1.184 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/2.358, allocations: 78.94 kB / 1.184 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/2.358, allocations: 6.25 kB / 1.184 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/2.358, allocations: 19.73 kB / 1.184 GB, free: 95.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/2.358, allocations: 23.98 kB / 1.184 GB, free: 95.04 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 9.787e-05/2.358, allocations: 111.5 kB / 1.184 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00105/2.359, allocations: 296.3 kB / 1.184 GB, free: 94.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/2.36, allocations: 19.8 kB / 1.184 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/2.361, allocations: 0.506 MB / 1.185 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/2.361, allocations: 11.98 kB / 1.185 GB, free: 94.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/2.361, allocations: 4 kB / 1.185 GB, free: 94.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.361, allocations: 2.188 kB / 1.185 GB, free: 94.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/2.362, allocations: 0.8073 MB / 1.185 GB, free: 93.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.362, allocations: 0 / 1.185 GB, free: 93.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/2.363, allocations: 70.28 kB / 1.186 GB, free: 93.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/2.363, allocations: 0 / 1.186 GB, free: 93.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/2.363, allocations: 15.98 kB / 1.186 GB, free: 93.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/2.363, allocations: 7.984 kB / 1.186 GB, free: 93.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/2.363, allocations: 4 kB / 1.186 GB, free: 93.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/2.364, allocations: 469.8 kB / 1.186 GB, free: 92.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/2.364, allocations: 128.7 kB / 1.186 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/2.364, allocations: 0 / 1.186 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/2.364, allocations: 11.98 kB / 1.186 GB, free: 92.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/2.364, allocations: 27.91 kB / 1.186 GB, free: 92.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/2.364, allocations: 35.97 kB / 1.186 GB, free: 92.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.356e-05/2.364, allocations: 94.52 kB / 1.186 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.364, allocations: 0 / 1.186 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007457/2.372, allocations: 1.651 MB / 1.188 GB, free: 90.71 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.01692/2.389, allocations: 3.407 MB / 1.191 GB, free: 87.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004948/2.389, allocations: 241.5 kB / 1.191 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/2.389, allocations: 8.312 kB / 1.192 GB, free: 87.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/2.39, allocations: 161.8 kB / 1.192 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/2.39, allocations: 35.08 kB / 1.192 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/2.396, allocations: 0.9559 MB / 1.193 GB, free: 86.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/2.396, allocations: 0.7376 MB / 1.193 GB, free: 85.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001105/2.397, allocations: 1.216 MB / 1.195 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/2.397, allocations: 87.38 kB / 1.195 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/2.397, allocations: 0 / 1.195 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/2.478, allocations: 43.19 MB / 1.237 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/2.479, allocations: 124.8 kB / 1.237 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/5.573, allocations: 2.25 kB / 1.237 GB, free: 40.66 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)