Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_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.001379/0.001379, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8652/0.8652, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0009289/0.0009288, allocations: 95.66 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.704e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5476, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/2.253, allocations: 0.6521 GB / 1.286 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/2.254, allocations: 70.95 kB / 1.286 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5886/2.842, allocations: 63.86 MB / 1.348 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.066e-06/2.842, allocations: 0 / 1.348 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.995e-06/2.842, allocations: 7.875 kB / 1.348 GB, free: 214.6 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.001937/2.844, allocations: 499.3 kB / 1.349 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/2.844, allocations: 7.906 kB / 1.349 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/2.845, allocations: 31.41 kB / 1.349 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/2.845, allocations: 169.4 kB / 1.349 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/2.845, allocations: 36.3 kB / 1.349 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/2.845, allocations: 7.672 kB / 1.349 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001638/2.845, allocations: 81.05 kB / 1.349 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/2.845, allocations: 76.73 kB / 1.349 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/2.845, allocations: 2.391 kB / 1.349 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/2.845, allocations: 0 / 1.349 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/2.845, allocations: 3.969 kB / 1.349 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/2.846, allocations: 296.2 kB / 1.35 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/2.846, allocations: 102.1 kB / 1.35 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/2.846, allocations: 50.34 kB / 1.35 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/2.857, allocations: 4.172 MB / 1.354 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/2.857, allocations: 34.38 kB / 1.354 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.866e-06/2.857, allocations: 0 / 1.354 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005106/2.858, allocations: 117.5 kB / 1.354 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/2.858, allocations: 51.41 kB / 1.354 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/2.858, allocations: 92.53 kB / 1.354 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/2.858, allocations: 29.64 kB / 1.354 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/2.858, allocations: 100 kB / 1.354 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/2.858, allocations: 45.11 kB / 1.354 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/2.858, allocations: 0 / 1.354 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/2.858, allocations: 314.8 kB / 1.355 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/2.858, allocations: 18.66 kB / 1.355 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/2.858, allocations: 24.59 kB / 1.355 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/2.858, allocations: 28.44 kB / 1.355 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.858, allocations: 3.938 kB / 1.355 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/2.858, allocations: 111.5 kB / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/2.858, allocations: 8.75 kB / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/2.858, allocations: 0 / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/2.858, allocations: 0 / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/2.858, allocations: 19.55 kB / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/2.858, allocations: 3.969 kB / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/2.859, allocations: 3.906 kB / 1.355 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/2.859, allocations: 7.766 kB / 1.355 GB, free: 211.1 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 () * 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.848e-05/2.859, allocations: 113.3 kB / 1.355 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002133/2.859, allocations: 95.95 kB / 1.355 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/2.859, allocations: 14.03 kB / 1.355 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/2.859, allocations: 358 kB / 1.355 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/2.859, allocations: 3.062 kB / 1.355 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.859, allocations: 0 / 1.355 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/2.859, allocations: 7.656 kB / 1.355 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/2.86, allocations: 244.1 kB / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/2.86, allocations: 0 / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/2.86, allocations: 25.22 kB / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/2.86, allocations: 3.938 kB / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/2.86, allocations: 0 / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/2.86, allocations: 0 / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.86, allocations: 3.75 kB / 1.356 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/2.86, allocations: 321.6 kB / 1.356 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/2.86, allocations: 103.7 kB / 1.356 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/2.86, allocations: 3.969 kB / 1.356 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/2.86, allocations: 9.797 kB / 1.356 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/2.86, allocations: 15.61 kB / 1.356 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/2.86, allocations: 7.844 kB / 1.356 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.027e-05/2.86, allocations: 75.28 kB / 1.356 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/2.86, allocations: 0 / 1.356 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001859/2.862, allocations: 334.7 kB / 1.356 GB, free: 210.4 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 () * 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.002295/2.864, allocations: 1.666 MB / 1.358 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001793/2.865, allocations: 119.6 kB / 1.358 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.865, allocations: 0 / 1.358 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/2.865, allocations: 113.4 kB / 1.358 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/2.865, allocations: 15.52 kB / 1.358 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/2.866, allocations: 332.2 kB / 1.359 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/2.866, allocations: 0.7232 MB / 1.359 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001006/2.866, allocations: 22.53 kB / 1.359 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/2.866, allocations: 43.73 kB / 1.359 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/2.866, allocations: 0 / 1.359 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/2.905, allocations: 14.18 MB / 1.373 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/2.905, allocations: 135.9 kB / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/5.136, allocations: 0 / 1.373 GB, free: 207.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)