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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7278/0.7278, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 56.06 kB / 0.5017 GB, free: 8.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 80.21 MB / 0.5801 GB, free: 8.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4137/0.5798, allocations: 135.6 MB / 0.7125 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.5905, allocations: 7.925 MB / 0.7202 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.5906, allocations: 0 / 0.7202 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.5909, allocations: 21 kB / 0.7202 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.591, allocations: 23.86 kB / 0.7203 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.5964, allocations: 1.466 MB / 0.7217 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.5966, allocations: 71.89 kB / 0.7218 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.5966, allocations: 5.484 kB / 0.7218 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.5968, allocations: 47.47 kB / 0.7218 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.5969, allocations: 35.25 kB / 0.7218 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.5969, allocations: 3.031 kB / 0.7218 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.6022, allocations: 2.654 MB / 0.7244 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.6023, allocations: 15.38 kB / 0.7245 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.6023, allocations: 31.47 kB / 0.7245 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.6049, allocations: 1.375 MB / 0.7258 GB, free: 8.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6049, allocations: 2.062 kB / 0.7258 GB, free: 8.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6049, allocations: 0 / 0.7258 GB, free: 8.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.6049, allocations: 0 / 0.7258 GB, free: 8.133 MB / 0.545 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.00138/0.6063, allocations: 0.4947 MB / 0.7263 GB, free: 7.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6063, allocations: 9.531 kB / 0.7263 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.6068, allocations: 18.67 kB / 0.7263 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6069, allocations: 182.9 kB / 0.7265 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.607, allocations: 33.2 kB / 0.7265 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.607, allocations: 10.19 kB / 0.7266 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.6074, allocations: 120.8 kB / 0.7267 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6074, allocations: 0 / 0.7267 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6075, allocations: 1.375 kB / 0.7267 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6075, allocations: 1.375 kB / 0.7267 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.6077, allocations: 120.3 kB / 0.7268 GB, free: 7.289 MB / 0.545 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.0004628/0.6082, allocations: 384.5 kB / 0.7272 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.6085, allocations: 119.5 kB / 0.7273 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.6086, allocations: 51.88 kB / 0.7273 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.6205, allocations: 4.203 MB / 0.7314 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6205, allocations: 40.59 kB / 0.7315 GB, free: 4.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.6206, allocations: 3.984 kB / 0.7315 GB, free: 4.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005203/0.6211, allocations: 167 kB / 0.7316 GB, free: 3.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.6211, allocations: 52.38 kB / 0.7317 GB, free: 3.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.6212, allocations: 94.52 kB / 0.7318 GB, free: 3.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.6212, allocations: 32.05 kB / 0.7318 GB, free: 3.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.6213, allocations: 91.98 kB / 0.7319 GB, free: 3.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.6213, allocations: 45.25 kB / 0.7319 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.6214, allocations: 26.52 kB / 0.732 GB, free: 3.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6215, allocations: 324.4 kB / 0.7323 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.6216, allocations: 20.78 kB / 0.7323 GB, free: 3.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.6216, allocations: 28.8 kB / 0.7323 GB, free: 3.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6217, allocations: 69.78 kB / 0.7324 GB, free: 3.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6217, allocations: 0 / 0.7324 GB, free: 3.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001838/0.6219, allocations: 118 kB / 0.7325 GB, free: 3.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6219, allocations: 5.625 kB / 0.7325 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6219, allocations: 0 / 0.7325 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.622, allocations: 2.469 kB / 0.7325 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6221, allocations: 29.05 kB / 0.7325 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6221, allocations: 0 / 0.7325 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.6222, allocations: 10.5 kB / 0.7325 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.6222, allocations: 9.641 kB / 0.7325 GB, free: 3.098 MB / 0.545 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.725e-05/0.6223, allocations: 112.9 kB / 0.7326 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.6223, allocations: 7.875 kB / 0.7327 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.6227, allocations: 375.2 kB / 0.733 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6228, allocations: 2.375 kB / 0.733 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6228, allocations: 6.781 kB / 0.733 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6228, allocations: 3.984 kB / 0.733 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.6231, allocations: 284.9 kB / 0.7333 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6231, allocations: 0 / 0.7333 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.6232, allocations: 24.61 kB / 0.7333 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6232, allocations: 0.9375 kB / 0.7333 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.6232, allocations: 1.781 kB / 0.7333 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6232, allocations: 4.125 kB / 0.7333 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6232, allocations: 0 / 0.7333 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.6236, allocations: 334.6 kB / 0.7336 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.6236, allocations: 107.1 kB / 0.7337 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6237, allocations: 6.375 kB / 0.7338 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.6238, allocations: 2.312 kB / 0.7338 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.6238, allocations: 12.77 kB / 0.7338 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6239, allocations: 7.516 kB / 0.7338 GB, free: 2.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.6239, allocations: 82.81 kB / 0.7339 GB, free: 2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6239, allocations: 3.938 kB / 0.7339 GB, free: 1.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001158/0.6251, allocations: 298 kB / 0.7341 GB, free: 1.965 MB / 0.545 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.001736/0.6268, allocations: 396.8 kB / 0.7345 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.6271, allocations: 135.4 kB / 0.7347 GB, free: 1.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6271, allocations: 5.312 kB / 0.7347 GB, free: 1.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.6272, allocations: 114.9 kB / 0.7348 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.6276, allocations: 13.22 kB / 0.7348 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.6282, allocations: 312.8 kB / 0.7351 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.6285, allocations: 0.7139 MB / 0.7358 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.6287, allocations: 39.84 kB / 0.7358 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.6287, allocations: 18.7 kB / 0.7358 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6287, allocations: 0 / 0.7358 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of Templates: time 0.01541/0.6441, allocations: 9.814 MB / 0.7454 GB, free: 8.82 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)