Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",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.01782/0.01782, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.817/1.817, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009231/0.0009232, allocations: 103.3 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 12 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4288, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.895/2.324, allocations: 0.6529 GB / 1.302 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/2.324, allocations: 74.12 kB / 1.302 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1542/2.479, allocations: 64.94 MB / 1.366 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.546e-06/2.479, allocations: 0 / 1.366 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.165e-06/2.479, allocations: 3.938 kB / 1.366 GB, free: 209.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001902/2.481, allocations: 0.502 MB / 1.366 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.481, allocations: 12.03 kB / 1.366 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/2.481, allocations: 34.56 kB / 1.366 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/2.481, allocations: 31.64 kB / 1.366 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/2.481, allocations: 163 kB / 1.367 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/2.481, allocations: 37.64 kB / 1.367 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/2.481, allocations: 4 kB / 1.367 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/2.482, allocations: 124.9 kB / 1.367 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/2.482, allocations: 0 / 1.367 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/2.482, allocations: 0 / 1.367 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/2.482, allocations: 7.953 kB / 1.367 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/2.482, allocations: 118.8 kB / 1.367 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/2.482, allocations: 323.6 kB / 1.367 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/2.483, allocations: 133.9 kB / 1.367 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00965/2.492, allocations: 4.155 MB / 1.371 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/2.492, allocations: 38.52 kB / 1.371 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/2.492, allocations: 0 / 1.371 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005205/2.493, allocations: 168.6 kB / 1.372 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/2.493, allocations: 55.41 kB / 1.372 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/2.493, allocations: 93 kB / 1.372 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/2.493, allocations: 25.7 kB / 1.372 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/2.493, allocations: 84.03 kB / 1.372 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/2.493, allocations: 55.28 kB / 1.372 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/2.493, allocations: 4 kB / 1.372 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/2.493, allocations: 314.8 kB / 1.372 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/2.493, allocations: 23.94 kB / 1.372 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/2.493, allocations: 28.39 kB / 1.372 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/2.493, allocations: 31.56 kB / 1.372 GB, free: 203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/2.493, allocations: 4 kB / 1.372 GB, free: 203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001499/2.493, allocations: 101.3 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/2.494, allocations: 4 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/2.494, allocations: 7.875 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/2.494, allocations: 3.953 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/2.494, allocations: 27.89 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/2.494, allocations: 4 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/2.494, allocations: 3.906 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/2.494, allocations: 4 kB / 1.372 GB, free: 202.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 5.804e-05/2.494, allocations: 109.8 kB / 1.372 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/2.494, allocations: 11.91 kB / 1.373 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/2.494, allocations: 378.5 kB / 1.373 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/2.494, allocations: 3.953 kB / 1.373 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/2.494, allocations: 0 / 1.373 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/2.494, allocations: 4 kB / 1.373 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/2.495, allocations: 284.4 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.495, allocations: 0 / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/2.495, allocations: 19.8 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/2.495, allocations: 4 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/2.495, allocations: 8 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/2.495, allocations: 0 / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.495, allocations: 3.953 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/2.495, allocations: 326.6 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/2.495, allocations: 104.8 kB / 1.374 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/2.495, allocations: 7.938 kB / 1.374 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/2.495, allocations: 4 kB / 1.374 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/2.495, allocations: 15.8 kB / 1.374 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/2.495, allocations: 8 kB / 1.374 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.11e-05/2.495, allocations: 83.22 kB / 1.374 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/2.495, allocations: 0 / 1.374 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001724/2.497, allocations: 343.6 kB / 1.374 GB, free: 201.2 MB / 0.6823 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.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002715/2.5, allocations: 1.582 MB / 1.376 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002356/2.5, allocations: 139.2 kB / 1.376 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.5, allocations: 4 kB / 1.376 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/2.5, allocations: 103.8 kB / 1.376 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/2.5, allocations: 19.89 kB / 1.376 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/2.501, allocations: 0.5078 MB / 1.376 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/2.502, allocations: 0.7201 MB / 1.377 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001341/2.502, allocations: 31.92 kB / 1.377 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/2.502, allocations: 39.38 kB / 1.377 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/2.502, allocations: 0 / 1.377 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/2.539, allocations: 18.87 MB / 1.396 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/2.539, allocations: 173.8 kB / 1.396 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/4.82, allocations: 3.375 kB / 1.396 GB, free: 180.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)