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.001746/0.001746, allocations: 174.6 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.7404/0.7404, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.646/1.646, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009526/0.0009527, allocations: 99.81 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.966e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1907, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.188/2.379, allocations: 0.6528 GB / 1.293 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/2.379, allocations: 65.61 kB / 1.293 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1553/2.534, allocations: 64.81 MB / 1.357 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.272e-06/2.534, allocations: 0 / 1.357 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.107e-05/2.534, allocations: 4 kB / 1.357 GB, free: 148.3 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.001969/2.536, allocations: 0.4949 MB / 1.357 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/2.536, allocations: 8.031 kB / 1.357 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/2.536, allocations: 42.55 kB / 1.357 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/2.537, allocations: 23.84 kB / 1.357 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/2.537, allocations: 175 kB / 1.357 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/2.537, allocations: 29.7 kB / 1.357 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/2.537, allocations: 15.94 kB / 1.357 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/2.537, allocations: 123 kB / 1.358 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/2.537, allocations: 0 / 1.358 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/2.537, allocations: 0 / 1.358 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/2.537, allocations: 7.953 kB / 1.358 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/2.538, allocations: 123.9 kB / 1.358 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/2.538, allocations: 324.7 kB / 1.358 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/2.538, allocations: 134.6 kB / 1.358 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/2.538, allocations: 44.86 kB / 1.358 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/2.549, allocations: 4.168 MB / 1.362 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/2.549, allocations: 42.52 kB / 1.362 GB, free: 142 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 3.446e-06/2.549, allocations: 0 / 1.362 GB, free: 142 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005455/2.55, allocations: 139.4 kB / 1.362 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/2.55, allocations: 55.34 kB / 1.362 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/2.55, allocations: 97 kB / 1.363 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/2.55, allocations: 25.7 kB / 1.363 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/2.55, allocations: 92.03 kB / 1.363 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/2.55, allocations: 39.59 kB / 1.363 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/2.55, allocations: 0 / 1.363 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/2.55, allocations: 322.8 kB / 1.363 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/2.55, allocations: 24 kB / 1.363 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/2.55, allocations: 20 kB / 1.363 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/2.55, allocations: 29.86 kB / 1.363 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/2.55, allocations: 0 / 1.363 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/2.55, allocations: 109.8 kB / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/2.55, allocations: 8 kB / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/2.55, allocations: 3.953 kB / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/2.55, allocations: 0 / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/2.551, allocations: 31.91 kB / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/2.551, allocations: 0 / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/2.551, allocations: 7.844 kB / 1.363 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/2.551, allocations: 7.984 kB / 1.363 GB, free: 141 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 6.056e-05/2.551, allocations: 105 kB / 1.363 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/2.551, allocations: 4 kB / 1.363 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/2.551, allocations: 387.9 kB / 1.364 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/2.551, allocations: 7.984 kB / 1.364 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/2.551, allocations: 0 / 1.364 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.551, allocations: 0 / 1.364 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/2.551, allocations: 277.4 kB / 1.364 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.551, allocations: 4 kB / 1.364 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.355e-05/2.552, allocations: 23.98 kB / 1.364 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/2.552, allocations: 0 / 1.364 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/2.552, allocations: 4 kB / 1.364 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/2.552, allocations: 3.953 kB / 1.364 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/2.552, allocations: 0 / 1.364 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/2.552, allocations: 330.8 kB / 1.364 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/2.552, allocations: 104.8 kB / 1.364 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/2.552, allocations: 11.98 kB / 1.364 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/2.552, allocations: 15.89 kB / 1.364 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/2.552, allocations: 11.98 kB / 1.364 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/2.552, allocations: 4 kB / 1.364 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.487e-05/2.552, allocations: 83.27 kB / 1.365 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.552, allocations: 0 / 1.365 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001887/2.554, allocations: 339.8 kB / 1.365 GB, free: 139.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.003762/2.558, allocations: 1.585 MB / 1.366 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002103/2.558, allocations: 119.9 kB / 1.367 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.558, allocations: 4 kB / 1.367 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/2.558, allocations: 109.3 kB / 1.367 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/2.559, allocations: 23.88 kB / 1.367 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/2.56, allocations: 343.3 kB / 1.367 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/2.56, allocations: 0.7208 MB / 1.368 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001317/2.56, allocations: 36.27 kB / 1.368 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/2.561, allocations: 39.42 kB / 1.368 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/2.561, allocations: 0 / 1.368 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/2.602, allocations: 21 MB / 1.388 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/2.602, allocations: 142.7 kB / 1.388 GB, free: 115 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/4.962, allocations: 0 / 1.388 GB, free: 115 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)