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.001691/0.001691, allocations: 176.2 kB / 7.648 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.7837/0.7837, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.637/1.637, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0008481/0.0008482, allocations: 103.2 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.975e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4945, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.682/2.176, allocations: 0.6521 GB / 1.286 GB, free: 35.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/2.176, allocations: 71.14 kB / 1.286 GB, free: 35.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6384/2.815, allocations: 63.85 MB / 1.348 GB, free: 213 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/2.815, allocations: 0 / 1.348 GB, free: 213 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.323e-05/2.815, allocations: 4 kB / 1.348 GB, free: 212.9 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.003146/2.818, allocations: 0.5 MB / 1.349 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/2.818, allocations: 15.5 kB / 1.349 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/2.819, allocations: 20.25 kB / 1.349 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/2.819, allocations: 173.5 kB / 1.349 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/2.819, allocations: 29.64 kB / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/2.819, allocations: 5.344 kB / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002135/2.819, allocations: 82.11 kB / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/2.819, allocations: 78.11 kB / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/2.819, allocations: 0 / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/2.819, allocations: 0 / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/2.819, allocations: 3.891 kB / 1.349 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/2.82, allocations: 298.9 kB / 1.35 GB, free: 212 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/2.82, allocations: 110.1 kB / 1.35 GB, free: 212 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/2.82, allocations: 42.89 kB / 1.35 GB, free: 212 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/2.831, allocations: 4.163 MB / 1.354 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/2.831, allocations: 38.56 kB / 1.354 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/2.831, allocations: 0 / 1.354 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0006096/2.832, allocations: 116.1 kB / 1.354 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/2.832, allocations: 51.41 kB / 1.354 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/2.832, allocations: 100.4 kB / 1.354 GB, free: 210 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/2.832, allocations: 29.64 kB / 1.354 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/2.832, allocations: 88.05 kB / 1.354 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/2.832, allocations: 42.77 kB / 1.354 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/2.832, allocations: 4 kB / 1.354 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/2.832, allocations: 318.5 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/2.832, allocations: 19.22 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/2.832, allocations: 28.05 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/2.832, allocations: 32.66 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/2.832, allocations: 0 / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002171/2.833, allocations: 100.6 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/2.833, allocations: 5.844 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/2.833, allocations: 0 / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.833, allocations: 4 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/2.833, allocations: 27.39 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/2.833, allocations: 3.938 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/2.833, allocations: 8.969 kB / 1.355 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/2.833, allocations: 7.719 kB / 1.355 GB, free: 209.5 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 8.052e-05/2.833, allocations: 104.9 kB / 1.355 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002257/2.833, allocations: 101.2 kB / 1.355 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/2.833, allocations: 7.875 kB / 1.355 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/2.834, allocations: 370.4 kB / 1.355 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/2.834, allocations: 11.61 kB / 1.355 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.834, allocations: 0 / 1.355 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/2.834, allocations: 3.953 kB / 1.355 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/2.834, allocations: 238.1 kB / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/2.834, allocations: 0 / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/2.834, allocations: 27.67 kB / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.834, allocations: 2.438 kB / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/2.834, allocations: 3.938 kB / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/2.834, allocations: 3.969 kB / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.834, allocations: 0 / 1.356 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/2.835, allocations: 319.9 kB / 1.356 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/2.835, allocations: 102.3 kB / 1.356 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/2.835, allocations: 3.891 kB / 1.356 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/2.835, allocations: 11.78 kB / 1.356 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/2.835, allocations: 10.41 kB / 1.356 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/2.835, allocations: 3.75 kB / 1.356 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.537e-05/2.835, allocations: 86.28 kB / 1.356 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/2.835, allocations: 0 / 1.356 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001907/2.837, allocations: 329.6 kB / 1.356 GB, free: 208.7 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.003693/2.841, allocations: 1.664 MB / 1.358 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001989/2.841, allocations: 123.2 kB / 1.358 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/2.841, allocations: 0 / 1.358 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/2.841, allocations: 104.7 kB / 1.358 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/2.841, allocations: 7.719 kB / 1.358 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/2.842, allocations: 349.2 kB / 1.359 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/2.843, allocations: 0.7233 MB / 1.359 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001186/2.843, allocations: 32 kB / 1.359 GB, free: 207 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/2.843, allocations: 36.78 kB / 1.359 GB, free: 207 MB / 0.6823 GB Notification: Performance of SimCode: time 4.7e-07/2.843, allocations: 0 / 1.359 GB, free: 207 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/2.886, allocations: 14.18 MB / 1.373 GB, free: 206 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/2.886, allocations: 126.6 kB / 1.373 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/4.986, allocations: 0 / 1.373 GB, free: 205.8 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)