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.006115/0.006115, allocations: 98.5 kB / 15.73 MB, free: 5.949 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.001356/0.001356, allocations: 196.2 kB / 16.68 MB, free: 5.871 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.433/1.433, allocations: 222.9 MB / 240.4 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.8605/0.8605, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.42 kB / 0.5862 GB, free: 21.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1792, allocations: 81.02 MB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5574/0.7367, allocations: 135.6 MB / 0.7977 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.7471, allocations: 7.923 MB / 0.8055 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.7473, allocations: 0 / 0.8055 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.7475, allocations: 28.06 kB / 0.8055 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.7476, allocations: 22.08 kB / 0.8055 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005843/0.7535, allocations: 1.468 MB / 0.8069 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.7537, allocations: 67.06 kB / 0.807 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.7537, allocations: 10.38 kB / 0.807 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.7539, allocations: 46.56 kB / 0.8071 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.754, allocations: 36.12 kB / 0.8071 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.754, allocations: 6.406 kB / 0.8071 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006227/0.7603, allocations: 2.698 MB / 0.8097 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.7604, allocations: 21.73 kB / 0.8098 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.7604, allocations: 38.08 kB / 0.8098 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.764, allocations: 1.376 MB / 0.8111 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7641, allocations: 1.375 kB / 0.8111 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7641, allocations: 0 / 0.8111 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7641, allocations: 0 / 0.8111 GB, free: 10.48 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.001728/0.7658, allocations: 0.4999 MB / 0.8116 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7659, allocations: 8.922 kB / 0.8116 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.7663, allocations: 27.94 kB / 0.8117 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.7665, allocations: 170.7 kB / 0.8118 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.7666, allocations: 33.33 kB / 0.8119 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.7666, allocations: 8.812 kB / 0.8119 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.7671, allocations: 124.7 kB / 0.812 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7671, allocations: 0 / 0.812 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7671, allocations: 0 / 0.812 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7671, allocations: 2.156 kB / 0.812 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.7674, allocations: 120.3 kB / 0.8121 GB, free: 9.625 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.0005907/0.768, allocations: 383.6 kB / 0.8125 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.7683, allocations: 126.3 kB / 0.8126 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.7684, allocations: 49.91 kB / 0.8126 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.781, allocations: 4.235 MB / 0.8168 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.7811, allocations: 37.22 kB / 0.8168 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.7811, allocations: 0 / 0.8168 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.7818, allocations: 165.2 kB / 0.817 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.7818, allocations: 57.22 kB / 0.817 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.7819, allocations: 99.89 kB / 0.8171 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.782, allocations: 25.7 kB / 0.8171 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.782, allocations: 86.36 kB / 0.8172 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.7821, allocations: 42.22 kB / 0.8173 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.7822, allocations: 29.45 kB / 0.8173 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7823, allocations: 325.4 kB / 0.8176 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.7824, allocations: 24.17 kB / 0.8176 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.7824, allocations: 31.5 kB / 0.8177 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.7826, allocations: 70.94 kB / 0.8177 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7826, allocations: 0 / 0.8177 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.7828, allocations: 104.8 kB / 0.8178 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7828, allocations: 7.438 kB / 0.8178 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7828, allocations: 0 / 0.8178 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7829, allocations: 0 / 0.8178 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.783, allocations: 26.36 kB / 0.8179 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.783, allocations: 0 / 0.8179 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.7831, allocations: 11.22 kB / 0.8179 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.7831, allocations: 10.7 kB / 0.8179 GB, free: 5.422 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.0001062/0.7832, allocations: 119.9 kB / 0.818 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.7833, allocations: 6.578 kB / 0.818 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.7838, allocations: 365.4 kB / 0.8183 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7839, allocations: 4 kB / 0.8183 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7839, allocations: 2.75 kB / 0.8183 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.7839, allocations: 3.984 kB / 0.8184 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.7843, allocations: 288.2 kB / 0.8186 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7843, allocations: 0 / 0.8186 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.7844, allocations: 26.02 kB / 0.8187 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.7844, allocations: 2.938 kB / 0.8187 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.7845, allocations: 6.469 kB / 0.8187 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7845, allocations: 0 / 0.8187 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7845, allocations: 0 / 0.8187 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.7849, allocations: 334 kB / 0.819 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.785, allocations: 108.4 kB / 0.8191 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7851, allocations: 3 kB / 0.8191 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.7852, allocations: 14.27 kB / 0.8191 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.7852, allocations: 4.688 kB / 0.8191 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.7853, allocations: 10.89 kB / 0.8191 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.7853, allocations: 81.97 kB / 0.8192 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7853, allocations: 0 / 0.8192 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001298/0.7866, allocations: 300.5 kB / 0.8195 GB, free: 4.293 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.001986/0.7886, allocations: 398.1 kB / 0.8199 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.7889, allocations: 130.3 kB / 0.82 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7889, allocations: 0 / 0.82 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.789, allocations: 119.5 kB / 0.8201 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.7894, allocations: 25.7 kB / 0.8201 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.7899, allocations: 308.5 kB / 0.8204 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.7903, allocations: 0.7193 MB / 0.8211 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.7905, allocations: 31.45 kB / 0.8211 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.7905, allocations: 14.84 kB / 0.8212 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7905, allocations: 0 / 0.8212 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of Templates: time 0.01792/0.8084, allocations: 9.791 MB / 0.8307 GB, free: 13.91 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)