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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005542/0.005542, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.768/0.768, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.05 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5092/0.6651, allocations: 135.6 MB / 0.7965 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008948/0.6741, allocations: 7.919 MB / 0.8043 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.6742, allocations: 0 / 0.8043 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.6745, allocations: 36.33 kB / 0.8043 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.6746, allocations: 15.84 kB / 0.8043 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005794/0.6804, allocations: 1.468 MB / 0.8058 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.6807, allocations: 82.7 kB / 0.8058 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.6807, allocations: 4.062 kB / 0.8058 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.6809, allocations: 42.19 kB / 0.8059 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.681, allocations: 37.02 kB / 0.8059 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.681, allocations: 2.344 kB / 0.8059 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.6862, allocations: 2.707 MB / 0.8086 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.6863, allocations: 20.94 kB / 0.8086 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.6863, allocations: 31.64 kB / 0.8086 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.6886, allocations: 1.372 MB / 0.8099 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6886, allocations: 1.375 kB / 0.8099 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6886, allocations: 0 / 0.8099 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.6886, allocations: 0 / 0.8099 GB, free: 10.47 MB / 0.5919 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.0009515/0.6896, allocations: 0.489 MB / 0.8104 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6896, allocations: 10.61 kB / 0.8104 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.6897, allocations: 49.64 kB / 0.8105 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.69, allocations: 31.56 kB / 0.8105 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.6902, allocations: 170.3 kB / 0.8107 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.6902, allocations: 31.77 kB / 0.8107 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.6903, allocations: 12.72 kB / 0.8107 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.6906, allocations: 114.5 kB / 0.8108 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6906, allocations: 5.719 kB / 0.8108 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6906, allocations: 3.562 kB / 0.8108 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6906, allocations: 2.75 kB / 0.8108 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.6909, allocations: 116.6 kB / 0.811 GB, free: 9.645 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.6914, allocations: 375.6 kB / 0.8113 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.6916, allocations: 126.9 kB / 0.8114 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.6917, allocations: 55.03 kB / 0.8115 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009776/0.7015, allocations: 4.231 MB / 0.8156 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.7015, allocations: 32.97 kB / 0.8156 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.7015, allocations: 4 kB / 0.8156 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004848/0.702, allocations: 167.7 kB / 0.8158 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.7021, allocations: 54.28 kB / 0.8159 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.7022, allocations: 100.7 kB / 0.816 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7022, allocations: 27.8 kB / 0.816 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.7022, allocations: 84.14 kB / 0.8161 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.7023, allocations: 47.45 kB / 0.8161 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.7023, allocations: 29.42 kB / 0.8161 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7025, allocations: 320.6 kB / 0.8164 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.7025, allocations: 31.48 kB / 0.8165 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.7026, allocations: 24.83 kB / 0.8165 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.7027, allocations: 69.41 kB / 0.8166 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7027, allocations: 3.938 kB / 0.8166 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.7029, allocations: 117.1 kB / 0.8167 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7029, allocations: 5.438 kB / 0.8167 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7029, allocations: 2.469 kB / 0.8167 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7029, allocations: 0 / 0.8167 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.7031, allocations: 25.7 kB / 0.8167 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7031, allocations: 4 kB / 0.8167 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.7031, allocations: 6.688 kB / 0.8167 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.7032, allocations: 6.094 kB / 0.8167 GB, free: 5.559 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.7032, allocations: 113.8 kB / 0.8168 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.7033, allocations: 8.562 kB / 0.8168 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.7037, allocations: 359 kB / 0.8172 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.7037, allocations: 6.734 kB / 0.8172 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7037, allocations: 2.094 kB / 0.8172 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7038, allocations: 7.938 kB / 0.8172 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.704, allocations: 285.1 kB / 0.8175 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.704, allocations: 192 / 0.8175 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.7041, allocations: 21.92 kB / 0.8175 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7042, allocations: 0 / 0.8175 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7042, allocations: 7.984 kB / 0.8175 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.7042, allocations: 1.875 kB / 0.8175 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7042, allocations: 3.984 kB / 0.8175 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.7045, allocations: 335 kB / 0.8178 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.7046, allocations: 104.2 kB / 0.8179 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7046, allocations: 1.125 kB / 0.8179 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.7048, allocations: 12.89 kB / 0.8179 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.7048, allocations: 9.078 kB / 0.8179 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.7048, allocations: 6.656 kB / 0.818 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.7048, allocations: 85.42 kB / 0.818 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7049, allocations: 3.938 kB / 0.818 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000981/0.7058, allocations: 297.1 kB / 0.8183 GB, free: 4.438 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/0.7074, allocations: 1.156 MB / 0.8195 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.7076, allocations: 118.1 kB / 0.8196 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7076, allocations: 0 / 0.8196 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.7078, allocations: 113.5 kB / 0.8197 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.7081, allocations: 24.67 kB / 0.8197 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.7089, allocations: 432.5 kB / 0.8201 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.7093, allocations: 0.7171 MB / 0.8208 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.7094, allocations: 39.69 kB / 0.8208 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.7095, allocations: 38.27 kB / 0.8209 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7095, allocations: 0 / 0.8209 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.7392, allocations: 11.6 MB / 0.8322 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.517, allocations: 10.66 kB / 0.8322 GB, free: 12.34 MB / 0.6075 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/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)