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.004596/0.004596, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001265/0.001265, allocations: 202.2 kB / 16.68 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9407/0.9407, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3972, allocations: 81.02 MB / 0.6648 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1589/0.5561, allocations: 135.6 MB / 0.7972 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009719/0.5659, allocations: 7.923 MB / 0.805 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.566, allocations: 4 kB / 0.805 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.5662, allocations: 23.88 kB / 0.805 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.5663, allocations: 23.78 kB / 0.805 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.5703, allocations: 1.459 MB / 0.8065 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.5705, allocations: 75.53 kB / 0.8065 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5705, allocations: 7.984 kB / 0.8065 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.5707, allocations: 47.83 kB / 0.8066 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.5708, allocations: 35.84 kB / 0.8066 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.5708, allocations: 0 / 0.8066 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.5763, allocations: 2.71 MB / 0.8093 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.5764, allocations: 11.98 kB / 0.8093 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.5765, allocations: 35.84 kB / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.5792, allocations: 1.385 MB / 0.8107 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5793, allocations: 0 / 0.8107 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5793, allocations: 0 / 0.8107 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5793, allocations: 0 / 0.8107 GB, free: 11.07 MB / 0.6387 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.001192/0.5805, allocations: 0.5022 MB / 0.8112 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.5805, allocations: 12.03 kB / 0.8112 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.5806, allocations: 38.69 kB / 0.8112 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.5809, allocations: 24.86 kB / 0.8112 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.5811, allocations: 176.3 kB / 0.8114 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.5812, allocations: 38.02 kB / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.5812, allocations: 4 kB / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.5817, allocations: 117.6 kB / 0.8115 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5817, allocations: 0 / 0.8115 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.5817, allocations: 4 kB / 0.8116 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5817, allocations: 0 / 0.8116 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.582, allocations: 119.8 kB / 0.8117 GB, free: 9.938 MB / 0.6387 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.0006198/0.5827, allocations: 388.1 kB / 0.812 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.583, allocations: 118.6 kB / 0.8121 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.5831, allocations: 52.83 kB / 0.8122 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.5949, allocations: 4.238 MB / 0.8163 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5949, allocations: 34.5 kB / 0.8164 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.5949, allocations: 0 / 0.8164 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005367/0.5955, allocations: 165.6 kB / 0.8165 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5955, allocations: 55.41 kB / 0.8166 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.5956, allocations: 109.7 kB / 0.8167 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5957, allocations: 25.7 kB / 0.8167 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.5957, allocations: 88.14 kB / 0.8168 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5958, allocations: 39.64 kB / 0.8168 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.5958, allocations: 29.7 kB / 0.8169 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.596, allocations: 318.8 kB / 0.8172 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.596, allocations: 23.98 kB / 0.8172 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.5961, allocations: 27.92 kB / 0.8172 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.5962, allocations: 75.09 kB / 0.8173 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5962, allocations: 0 / 0.8173 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001888/0.5964, allocations: 109.6 kB / 0.8174 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5964, allocations: 4 kB / 0.8174 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5965, allocations: 0 / 0.8174 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.5965, allocations: 4 kB / 0.8174 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5966, allocations: 23.92 kB / 0.8174 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5966, allocations: 0 / 0.8174 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.5967, allocations: 11.88 kB / 0.8174 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5967, allocations: 8 kB / 0.8174 GB, free: 3.562 MB / 0.6387 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 9.358e-05/0.5968, allocations: 113.8 kB / 0.8175 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.5968, allocations: 11.94 kB / 0.8176 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.5973, allocations: 360.3 kB / 0.8179 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5973, allocations: 7.984 kB / 0.8179 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5974, allocations: 4 kB / 0.8179 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5974, allocations: 3.938 kB / 0.8179 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.5977, allocations: 285.1 kB / 0.8182 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5977, allocations: 0 / 0.8182 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.5978, allocations: 23.98 kB / 0.8182 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5978, allocations: 0 / 0.8182 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5978, allocations: 11.98 kB / 0.8182 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5978, allocations: 0 / 0.8182 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5978, allocations: 0 / 0.8182 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.5982, allocations: 331.8 kB / 0.8185 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.5983, allocations: 108.9 kB / 0.8186 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5983, allocations: 0 / 0.8186 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.5985, allocations: 12 kB / 0.8187 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.5985, allocations: 11.92 kB / 0.8187 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5985, allocations: 11.94 kB / 0.8187 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.5986, allocations: 87.27 kB / 0.8188 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5986, allocations: 0 / 0.8188 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008704/0.5995, allocations: 295.7 kB / 0.819 GB, free: 1.82 MB / 0.6387 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.001757/0.6012, allocations: 1.161 MB / 0.8202 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.6015, allocations: 124 kB / 0.8203 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6015, allocations: 0 / 0.8203 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.6016, allocations: 110.6 kB / 0.8204 GB, free: 412 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6019, allocations: 25.78 kB / 0.8204 GB, free: 388 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.6028, allocations: 429.5 kB / 0.8208 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.6031, allocations: 0.7282 MB / 0.8215 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.899e-05/0.6032, allocations: 28.34 kB / 0.8216 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.6033, allocations: 39.42 kB / 0.8216 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6033, allocations: 4 kB / 0.8216 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/0.7954, allocations: 11.61 MB / 0.8329 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.983/9.779, allocations: 13.58 kB / 0.833 GB, free: 3.57 MB / 0.6544 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)