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: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001717/0.001717, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001985/0.001985, allocations: 183 kB / 17.34 MB, free: 5.766 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8676/0.8676, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.7 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 80.93 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5403/0.7099, allocations: 136 MB / 0.7981 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.718, allocations: 7.936 MB / 0.8059 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.7181, allocations: 1.344 kB / 0.8059 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.7184, allocations: 34.31 kB / 0.8059 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.7185, allocations: 21.12 kB / 0.8059 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.7231, allocations: 1.464 MB / 0.8074 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.7233, allocations: 80.86 kB / 0.8074 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.7234, allocations: 8.266 kB / 0.8074 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.7235, allocations: 45.95 kB / 0.8075 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.7236, allocations: 34.12 kB / 0.8075 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.7236, allocations: 3.188 kB / 0.8075 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005049/0.7287, allocations: 2.703 MB / 0.8102 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.7287, allocations: 17.95 kB / 0.8102 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.7288, allocations: 34.95 kB / 0.8102 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.7312, allocations: 1.385 MB / 0.8116 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7312, allocations: 3.562 kB / 0.8116 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7312, allocations: 0 / 0.8116 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.7313, allocations: 0 / 0.8116 GB, free: 10.58 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.001181/0.7324, allocations: 0.4965 MB / 0.812 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7325, allocations: 11.2 kB / 0.8121 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.7329, allocations: 25.52 kB / 0.8121 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.733, allocations: 167.1 kB / 0.8122 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.7331, allocations: 36.81 kB / 0.8123 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.7331, allocations: 11.69 kB / 0.8123 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.7335, allocations: 118.5 kB / 0.8124 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7335, allocations: 0 / 0.8124 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.7335, allocations: 4 kB / 0.8124 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7335, allocations: 2.938 kB / 0.8124 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.7338, allocations: 120.4 kB / 0.8125 GB, free: 9.762 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.0005742/0.7344, allocations: 377.9 kB / 0.8129 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.7347, allocations: 120.6 kB / 0.813 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.7348, allocations: 45.84 kB / 0.813 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.7465, allocations: 4.234 MB / 0.8172 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.7466, allocations: 32.88 kB / 0.8172 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.7466, allocations: 0 / 0.8172 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005923/0.7472, allocations: 167.7 kB / 0.8174 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.7472, allocations: 57.53 kB / 0.8174 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.7473, allocations: 103.1 kB / 0.8175 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.7473, allocations: 25.7 kB / 0.8175 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.7474, allocations: 84.14 kB / 0.8176 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.7474, allocations: 42.95 kB / 0.8177 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.7475, allocations: 32.09 kB / 0.8177 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7477, allocations: 322.8 kB / 0.818 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.7477, allocations: 30.77 kB / 0.818 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.7478, allocations: 23.3 kB / 0.8181 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.7479, allocations: 66.08 kB / 0.8181 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7479, allocations: 3.984 kB / 0.8181 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001962/0.7481, allocations: 111.1 kB / 0.8182 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7481, allocations: 8.891 kB / 0.8182 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7481, allocations: 0 / 0.8182 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7481, allocations: 2.625 kB / 0.8182 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.7483, allocations: 19.61 kB / 0.8183 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7483, allocations: 2.75 kB / 0.8183 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.7483, allocations: 7.938 kB / 0.8183 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.7483, allocations: 12.72 kB / 0.8183 GB, free: 5.566 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 0.0001136/0.7485, allocations: 111.9 kB / 0.8184 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.7485, allocations: 10.39 kB / 0.8184 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.749, allocations: 362.8 kB / 0.8187 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.749, allocations: 10.73 kB / 0.8188 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.749, allocations: 0 / 0.8188 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.749, allocations: 192 / 0.8188 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.7494, allocations: 289 kB / 0.819 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7494, allocations: 0 / 0.819 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.7495, allocations: 26.38 kB / 0.8191 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7495, allocations: 0 / 0.8191 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7495, allocations: 7.938 kB / 0.8191 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7495, allocations: 2.375 kB / 0.8191 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7495, allocations: 0 / 0.8191 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.7499, allocations: 335.2 kB / 0.8194 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.75, allocations: 105.4 kB / 0.8195 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.75, allocations: 4 kB / 0.8195 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.7501, allocations: 10.7 kB / 0.8195 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.7502, allocations: 9.047 kB / 0.8195 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7502, allocations: 4.812 kB / 0.8195 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.7502, allocations: 86.03 kB / 0.8196 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7502, allocations: 0 / 0.8196 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001305/0.7515, allocations: 302.2 kB / 0.8199 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.001479/0.753, allocations: 401.5 kB / 0.8203 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.7533, allocations: 118.1 kB / 0.8204 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7533, allocations: 0 / 0.8204 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.7534, allocations: 96.95 kB / 0.8205 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.7538, allocations: 17.42 kB / 0.8205 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.7544, allocations: 336.8 kB / 0.8208 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.7548, allocations: 0.7179 MB / 0.8215 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.7548, allocations: 22.67 kB / 0.8215 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.7548, allocations: 0 / 0.8215 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of Templates: time 0.01318/0.768, allocations: 6.752 MB / 0.8281 GB, free: 15.7 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)