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.008329/0.008329, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7852/0.7852, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.551/1.551, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0008393/0.0008391, allocations: 97.31 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4267, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.703, allocations: 0.6529 GB / 1.302 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.703, allocations: 75.83 kB / 1.302 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5287/2.232, allocations: 64.94 MB / 1.366 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/2.232, allocations: 0 / 1.366 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.553e-06/2.232, allocations: 0 / 1.366 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.001722/2.234, allocations: 0.4983 MB / 1.366 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/2.234, allocations: 8.031 kB / 1.366 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/2.234, allocations: 41.94 kB / 1.366 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/2.234, allocations: 27.61 kB / 1.366 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/2.234, allocations: 163 kB / 1.367 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/2.235, allocations: 33.7 kB / 1.367 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/2.235, allocations: 7.938 kB / 1.367 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/2.235, allocations: 129 kB / 1.367 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/2.235, allocations: 0 / 1.367 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/2.235, allocations: 4 kB / 1.367 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/2.235, allocations: 3.953 kB / 1.367 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/2.235, allocations: 124.2 kB / 1.367 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/2.236, allocations: 323.5 kB / 1.367 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/2.236, allocations: 129.2 kB / 1.367 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009747/2.246, allocations: 4.155 MB / 1.371 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/2.246, allocations: 42.52 kB / 1.371 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/2.246, allocations: 0 / 1.371 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005034/2.246, allocations: 164.5 kB / 1.372 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/2.246, allocations: 55.41 kB / 1.372 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/2.246, allocations: 96.94 kB / 1.372 GB, free: 209 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/2.246, allocations: 25.7 kB / 1.372 GB, free: 209 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/2.246, allocations: 88.03 kB / 1.372 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/2.246, allocations: 35.52 kB / 1.372 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/2.246, allocations: 4 kB / 1.372 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/2.247, allocations: 318.6 kB / 1.372 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/2.247, allocations: 31.73 kB / 1.372 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/2.247, allocations: 27.84 kB / 1.372 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/2.247, allocations: 27.38 kB / 1.372 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/2.247, allocations: 0 / 1.372 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001458/2.247, allocations: 105.4 kB / 1.372 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/2.247, allocations: 12.64 kB / 1.372 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/2.247, allocations: 0 / 1.372 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/2.247, allocations: 3.953 kB / 1.372 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/2.247, allocations: 27.77 kB / 1.372 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/2.247, allocations: 0 / 1.372 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/2.247, allocations: 11.84 kB / 1.372 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/2.247, allocations: 12 kB / 1.372 GB, free: 208.3 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 6.09e-05/2.247, allocations: 109.8 kB / 1.373 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/2.247, allocations: 7.906 kB / 1.373 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/2.248, allocations: 374.4 kB / 1.373 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/2.248, allocations: 3.953 kB / 1.373 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.248, allocations: 0 / 1.373 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/2.248, allocations: 3.703 kB / 1.373 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/2.248, allocations: 280.5 kB / 1.373 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/2.248, allocations: 4 kB / 1.373 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/2.248, allocations: 23.7 kB / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/2.248, allocations: 0 / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/2.248, allocations: 0 / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/2.248, allocations: 4 kB / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/2.248, allocations: 3.953 kB / 1.373 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/2.248, allocations: 337.7 kB / 1.373 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/2.248, allocations: 104.4 kB / 1.374 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/2.248, allocations: 4 kB / 1.374 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/2.248, allocations: 7.891 kB / 1.374 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/2.248, allocations: 11.95 kB / 1.374 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/2.249, allocations: 7.891 kB / 1.374 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.263e-05/2.249, allocations: 83.28 kB / 1.374 GB, free: 207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/2.249, allocations: 0 / 1.374 GB, free: 207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001754/2.25, allocations: 335.4 kB / 1.374 GB, free: 206.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 () * 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.002328/2.253, allocations: 1.591 MB / 1.376 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002099/2.253, allocations: 130.2 kB / 1.376 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.253, allocations: 0 / 1.376 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/2.253, allocations: 107 kB / 1.376 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/2.253, allocations: 23.66 kB / 1.376 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/2.254, allocations: 0.5146 MB / 1.376 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/2.254, allocations: 0.7161 MB / 1.377 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001109/2.254, allocations: 32.16 kB / 1.377 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/2.254, allocations: 43.03 kB / 1.377 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/2.254, allocations: 0 / 1.377 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/2.289, allocations: 18.88 MB / 1.396 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/2.29, allocations: 171.1 kB / 1.396 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/4.477, allocations: 0 / 1.396 GB, free: 186.9 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)