Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 176.8 kB / 182.2 MB, free: 9.438 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.651/1.651, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001072/0.001072, allocations: 96.02 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 285 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.625e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5417, allocations: 82.77 MB / 0.7574 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.58/2.121, allocations: 419.6 MB / 1.167 GB, free: 175.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/2.122, allocations: 71.75 kB / 1.167 GB, free: 175.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4799/2.602, allocations: 193 MB / 1.356 GB, free: 78.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/2.602, allocations: 0 / 1.356 GB, free: 78.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.455e-05/2.602, allocations: 8 kB / 1.356 GB, free: 78.86 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.006132/2.608, allocations: 1.223 MB / 1.357 GB, free: 77.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/2.608, allocations: 12.03 kB / 1.357 GB, free: 77.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/2.609, allocations: 83.72 kB / 1.357 GB, free: 77.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/2.609, allocations: 218.9 kB / 1.357 GB, free: 77.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/2.609, allocations: 4 kB / 1.357 GB, free: 77.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/2.609, allocations: 8 kB / 1.357 GB, free: 77.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004072/2.61, allocations: 407.7 kB / 1.358 GB, free: 76.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/2.61, allocations: 204.7 kB / 1.358 GB, free: 76.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/2.61, allocations: 3.953 kB / 1.358 GB, free: 76.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/2.61, allocations: 0 / 1.358 GB, free: 76.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/2.61, allocations: 4 kB / 1.358 GB, free: 76.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/2.611, allocations: 0.8666 MB / 1.359 GB, free: 75.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/2.611, allocations: 138.5 kB / 1.359 GB, free: 75.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/2.611, allocations: 65.3 kB / 1.359 GB, free: 75.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07634/2.687, allocations: 34.76 MB / 1.393 GB, free: 37.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/2.688, allocations: 38.5 kB / 1.393 GB, free: 37.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/2.688, allocations: 0 / 1.393 GB, free: 37.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001448/2.689, allocations: 286.3 kB / 1.393 GB, free: 37.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/2.689, allocations: 51.41 kB / 1.393 GB, free: 37.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/2.689, allocations: 114.7 kB / 1.393 GB, free: 37.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/2.689, allocations: 33.64 kB / 1.393 GB, free: 37.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/2.689, allocations: 112.3 kB / 1.393 GB, free: 36.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/2.689, allocations: 78.77 kB / 1.394 GB, free: 36.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/2.689, allocations: 0 / 1.394 GB, free: 36.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/2.689, allocations: 322.8 kB / 1.394 GB, free: 36.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/2.69, allocations: 71.98 kB / 1.394 GB, free: 36.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/2.69, allocations: 118.6 kB / 1.394 GB, free: 36.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/2.691, allocations: 123.9 kB / 1.394 GB, free: 36.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.691, allocations: 0 / 1.394 GB, free: 36.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001121/2.692, allocations: 313.2 kB / 1.394 GB, free: 35.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/2.692, allocations: 9.203 kB / 1.394 GB, free: 35.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/2.692, allocations: 4.156 kB / 1.394 GB, free: 35.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/2.692, allocations: 4 kB / 1.394 GB, free: 35.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/2.692, allocations: 79.88 kB / 1.395 GB, free: 35.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/2.692, allocations: 4 kB / 1.395 GB, free: 35.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/2.692, allocations: 11.84 kB / 1.395 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/2.692, allocations: 31.97 kB / 1.395 GB, free: 35.77 MB / 0.698 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 0.0001053/2.692, allocations: 104.9 kB / 1.395 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001092/2.693, allocations: 289.7 kB / 1.395 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/2.694, allocations: 19.86 kB / 1.395 GB, free: 35.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/2.695, allocations: 0.5159 MB / 1.395 GB, free: 34.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/2.695, allocations: 11.92 kB / 1.396 GB, free: 34.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.695, allocations: 0 / 1.396 GB, free: 34.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/2.695, allocations: 3.984 kB / 1.396 GB, free: 34.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/2.696, allocations: 0.809 MB / 1.396 GB, free: 33.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/2.697, allocations: 0 / 1.396 GB, free: 33.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/2.697, allocations: 67.94 kB / 1.396 GB, free: 33.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/2.697, allocations: 0 / 1.396 GB, free: 33.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/2.697, allocations: 15.98 kB / 1.396 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.697, allocations: 4 kB / 1.396 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.697, allocations: 0 / 1.396 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/2.698, allocations: 475.5 kB / 1.397 GB, free: 33.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/2.698, allocations: 120.8 kB / 1.397 GB, free: 33.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/2.698, allocations: 0 / 1.397 GB, free: 33.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/2.698, allocations: 15.92 kB / 1.397 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/2.698, allocations: 27.95 kB / 1.397 GB, free: 33.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/2.698, allocations: 27.97 kB / 1.397 GB, free: 33.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.807e-05/2.699, allocations: 88.28 kB / 1.397 GB, free: 33.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/2.699, allocations: 0 / 1.397 GB, free: 33.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008783/2.707, allocations: 1.662 MB / 1.399 GB, free: 31.45 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: 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.01681/2.724, allocations: 3.402 MB / 1.402 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005745/2.725, allocations: 240 kB / 1.402 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/2.725, allocations: 0 / 1.402 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/2.725, allocations: 163.6 kB / 1.402 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/2.726, allocations: 52.19 kB / 1.402 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/2.732, allocations: 0.9737 MB / 1.403 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/2.732, allocations: 0.7376 MB / 1.404 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001135/2.734, allocations: 1.21 MB / 1.405 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/2.734, allocations: 87.38 kB / 1.405 GB, free: 24.65 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/2.734, allocations: 7.938 kB / 1.405 GB, free: 24.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5587/3.292, allocations: 43.18 MB / 1.448 GB, free: 145.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/3.293, allocations: 142.7 kB / 1.448 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/6.805, allocations: 0 / 1.448 GB, free: 145.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)