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.002659/0.002659, allocations: 180.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6419/0.6419, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.743/1.743, allocations: 223.2 MB / 354.3 MB, free: 12.09 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.00117/0.00117, allocations: 103.1 kB / 427.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 72.32 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.437, allocations: 413.2 MB / 0.9724 GB, free: 52.14 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.437, allocations: 75.97 kB / 0.9725 GB, free: 52.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.921/2.358, allocations: 196.1 MB / 1.164 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/2.358, allocations: 0 / 1.164 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.453e-05/2.358, allocations: 0 / 1.164 GB, free: 115.8 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.007122/2.365, allocations: 1.235 MB / 1.165 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/2.365, allocations: 12.03 kB / 1.165 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/2.366, allocations: 48.55 kB / 1.165 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/2.367, allocations: 83.41 kB / 1.165 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/2.367, allocations: 229.5 kB / 1.166 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/2.367, allocations: 14.83 kB / 1.166 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/2.367, allocations: 15.27 kB / 1.166 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/2.368, allocations: 450.2 kB / 1.166 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/2.368, allocations: 0 / 1.166 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/2.368, allocations: 7.188 kB / 1.166 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/2.368, allocations: 4 kB / 1.166 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/2.369, allocations: 0.5861 MB / 1.167 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/2.37, allocations: 0.901 MB / 1.167 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/2.371, allocations: 243 kB / 1.168 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0721/2.443, allocations: 34.66 MB / 1.202 GB, free: 75.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.443, allocations: 38 kB / 1.202 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/2.443, allocations: 0 / 1.202 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001553/2.445, allocations: 410.1 kB / 1.202 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/2.445, allocations: 59.41 kB / 1.202 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/2.445, allocations: 125.4 kB / 1.202 GB, free: 74.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/2.445, allocations: 31.08 kB / 1.202 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/2.445, allocations: 112.3 kB / 1.202 GB, free: 74.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/2.445, allocations: 82.75 kB / 1.202 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/2.445, allocations: 11 kB / 1.202 GB, free: 74.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/2.445, allocations: 330.8 kB / 1.203 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/2.445, allocations: 75.95 kB / 1.203 GB, free: 73.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/2.445, allocations: 128.5 kB / 1.203 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/2.445, allocations: 92.78 kB / 1.203 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.445, allocations: 3.938 kB / 1.203 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005786/2.446, allocations: 290.2 kB / 1.203 GB, free: 73.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/2.446, allocations: 8 kB / 1.203 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/2.446, allocations: 0 / 1.203 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/2.446, allocations: 4 kB / 1.203 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/2.446, allocations: 78.94 kB / 1.203 GB, free: 73.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/2.446, allocations: 5.875 kB / 1.203 GB, free: 73.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/2.447, allocations: 23.69 kB / 1.203 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/2.447, allocations: 31.97 kB / 1.203 GB, free: 73.27 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 () * Number of clocked 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 0.000148/2.447, allocations: 132.2 kB / 1.204 GB, free: 73.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/2.447, allocations: 15.81 kB / 1.204 GB, free: 73.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/2.449, allocations: 2.294 MB / 1.206 GB, free: 70.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/2.449, allocations: 17.47 kB / 1.206 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.449, allocations: 0 / 1.206 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/2.449, allocations: 0 / 1.206 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/2.451, allocations: 3.36 MB / 1.209 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/2.451, allocations: 0 / 1.209 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/2.452, allocations: 62.77 kB / 1.209 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/2.452, allocations: 0 / 1.209 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/2.452, allocations: 7.984 kB / 1.209 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.452, allocations: 4 kB / 1.209 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/2.452, allocations: 3.938 kB / 1.209 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/2.452, allocations: 0.5445 MB / 1.21 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/2.452, allocations: 144.6 kB / 1.21 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/2.452, allocations: 11.98 kB / 1.21 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/2.453, allocations: 18.72 kB / 1.21 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/2.453, allocations: 23.97 kB / 1.21 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/2.453, allocations: 11.98 kB / 1.21 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.783e-05/2.453, allocations: 108.9 kB / 1.21 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.453, allocations: 0 / 1.21 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008994/2.462, allocations: 1.662 MB / 1.212 GB, free: 64.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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01647/2.478, allocations: 3.431 MB / 1.215 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007446/2.479, allocations: 321.3 kB / 1.215 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/2.479, allocations: 8 kB / 1.215 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/2.479, allocations: 233.6 kB / 1.216 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/2.48, allocations: 61.69 kB / 1.216 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/2.488, allocations: 2.913 MB / 1.218 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/2.488, allocations: 0.7741 MB / 1.219 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004883/2.489, allocations: 399 kB / 1.22 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/2.489, allocations: 95.39 kB / 1.22 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/2.489, allocations: 0 / 1.22 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07868/2.568, allocations: 49.42 MB / 1.268 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/2.568, allocations: 169.5 kB / 1.268 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/6.305, allocations: 64 / 1.268 GB, free: 6.844 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)