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.001706/0.001706, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8461/0.8461, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.676/1.676, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 93.12 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-05/4.732e-05, allocations: 1.969 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.316/2.515, allocations: 0.6528 GB / 1.293 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/2.516, allocations: 71.59 kB / 1.293 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.153/2.669, allocations: 64.8 MB / 1.357 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/2.669, allocations: 3.938 kB / 1.357 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.143e-06/2.669, allocations: 0 / 1.357 GB, free: 130.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.001826/2.67, allocations: 0.4917 MB / 1.357 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/2.671, allocations: 8.031 kB / 1.357 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/2.671, allocations: 42.31 kB / 1.357 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/2.671, allocations: 27.83 kB / 1.357 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/2.671, allocations: 171 kB / 1.357 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/2.671, allocations: 29.7 kB / 1.357 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/2.671, allocations: 7.812 kB / 1.357 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/2.671, allocations: 127.4 kB / 1.358 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/2.671, allocations: 0 / 1.358 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/2.671, allocations: 4 kB / 1.358 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/2.671, allocations: 3.953 kB / 1.358 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/2.672, allocations: 123.8 kB / 1.358 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/2.672, allocations: 332.1 kB / 1.358 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/2.672, allocations: 121.8 kB / 1.358 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/2.672, allocations: 63.39 kB / 1.358 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009686/2.682, allocations: 4.165 MB / 1.362 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/2.682, allocations: 38.52 kB / 1.362 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/2.682, allocations: 0 / 1.362 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004875/2.683, allocations: 139.9 kB / 1.362 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/2.683, allocations: 59.34 kB / 1.362 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/2.683, allocations: 96.98 kB / 1.363 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/2.683, allocations: 29.45 kB / 1.363 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/2.683, allocations: 84.05 kB / 1.363 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/2.683, allocations: 47.27 kB / 1.363 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/2.683, allocations: 0 / 1.363 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/2.683, allocations: 314.5 kB / 1.363 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/2.683, allocations: 23.31 kB / 1.363 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/2.683, allocations: 31.3 kB / 1.363 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/2.683, allocations: 24.11 kB / 1.363 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/2.683, allocations: 8 kB / 1.363 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/2.683, allocations: 104.9 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/2.683, allocations: 5.094 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/2.683, allocations: 3.953 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/2.683, allocations: 4 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/2.684, allocations: 23.67 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/2.684, allocations: 7.875 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/2.684, allocations: 11.84 kB / 1.363 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/2.684, allocations: 0 / 1.363 GB, free: 123.7 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.644e-05/2.684, allocations: 112.7 kB / 1.363 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/2.684, allocations: 4 kB / 1.363 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/2.684, allocations: 366.6 kB / 1.364 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/2.684, allocations: 7.984 kB / 1.364 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/2.684, allocations: 0 / 1.364 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/2.684, allocations: 4 kB / 1.364 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/2.684, allocations: 281.2 kB / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.684, allocations: 7.984 kB / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/2.684, allocations: 19 kB / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/2.684, allocations: 3.984 kB / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/2.684, allocations: 0 / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/2.684, allocations: 7.953 kB / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/2.684, allocations: 0 / 1.364 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/2.685, allocations: 330 kB / 1.364 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/2.685, allocations: 104.3 kB / 1.364 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/2.685, allocations: 11.62 kB / 1.364 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/2.685, allocations: 11.94 kB / 1.364 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/2.685, allocations: 8.125 kB / 1.364 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/2.685, allocations: 11.67 kB / 1.364 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.864e-05/2.685, allocations: 83.27 kB / 1.365 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/2.685, allocations: 0 / 1.365 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002016/2.687, allocations: 339.2 kB / 1.365 GB, free: 122.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 () * 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.002346/2.689, allocations: 1.594 MB / 1.366 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001886/2.69, allocations: 111.2 kB / 1.367 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.69, allocations: 7.375 kB / 1.367 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/2.69, allocations: 108.4 kB / 1.367 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/2.69, allocations: 23.56 kB / 1.367 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/2.691, allocations: 346.4 kB / 1.367 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/2.691, allocations: 0.7169 MB / 1.368 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001175/2.691, allocations: 28.34 kB / 1.368 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/2.691, allocations: 45.05 kB / 1.368 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/2.691, allocations: 0 / 1.368 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/2.73, allocations: 21 MB / 1.388 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/2.73, allocations: 156.4 kB / 1.388 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/4.962, allocations: 4 kB / 1.388 GB, free: 98.23 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)