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.001254/0.001255, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9349/0.9349, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1852, allocations: 82.32 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4917/0.677, allocations: 122.7 MB / 0.7072 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.6885, allocations: 7.472 MB / 0.7145 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.6887, allocations: 1.125 kB / 0.7145 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.6889, allocations: 29.12 kB / 0.7145 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.689, allocations: 18.38 kB / 0.7145 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.6948, allocations: 1.112 MB / 0.7156 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.695, allocations: 66.44 kB / 0.7157 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.6951, allocations: 3.859 kB / 0.7157 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.6953, allocations: 46.52 kB / 0.7157 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.6954, allocations: 31.08 kB / 0.7158 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.6954, allocations: 3.969 kB / 0.7158 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008737/0.7042, allocations: 2.518 MB / 0.7182 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.7043, allocations: 16.11 kB / 0.7182 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.7044, allocations: 31.61 kB / 0.7183 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.7073, allocations: 0.9182 MB / 0.7192 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.7074, allocations: 0 / 0.7192 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7074, allocations: 1.188 kB / 0.7192 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7074, allocations: 0 / 0.7192 GB, free: 13.73 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.002342/0.7097, allocations: 486.5 kB / 0.7196 GB, free: 13.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7098, allocations: 9.25 kB / 0.7196 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.7103, allocations: 26.52 kB / 0.7197 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.7105, allocations: 175.1 kB / 0.7198 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.7106, allocations: 30.86 kB / 0.7199 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.7106, allocations: 8.5 kB / 0.7199 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.7111, allocations: 119.8 kB / 0.72 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7111, allocations: 5.297 kB / 0.72 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.7111, allocations: 4 kB / 0.72 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7112, allocations: 6.5 kB / 0.72 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.7115, allocations: 113.4 kB / 0.7201 GB, free: 12.98 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.000676/0.7122, allocations: 379.1 kB / 0.7205 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.7125, allocations: 120.5 kB / 0.7206 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.7126, allocations: 59.52 kB / 0.7206 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.7251, allocations: 4.249 MB / 0.7248 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.7252, allocations: 35.73 kB / 0.7248 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.7252, allocations: 0 / 0.7248 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007012/0.7259, allocations: 173 kB / 0.725 GB, free: 10.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.726, allocations: 52.72 kB / 0.725 GB, free: 10.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.7261, allocations: 101.1 kB / 0.7251 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7261, allocations: 26.92 kB / 0.7252 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.7262, allocations: 81.2 kB / 0.7252 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.7263, allocations: 53.8 kB / 0.7253 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.7263, allocations: 0 / 0.7253 GB, free: 10.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7264, allocations: 319.5 kB / 0.7256 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.7265, allocations: 27.7 kB / 0.7256 GB, free: 9.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/0.7265, allocations: 30.44 kB / 0.7257 GB, free: 9.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/0.7266, allocations: 26.06 kB / 0.7257 GB, free: 9.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7266, allocations: 0 / 0.7257 GB, free: 9.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.7268, allocations: 116 kB / 0.7258 GB, free: 9.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7268, allocations: 4.438 kB / 0.7258 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.7269, allocations: 3.953 kB / 0.7258 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.7269, allocations: 0.9375 kB / 0.7258 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.727, allocations: 20.12 kB / 0.7258 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.727, allocations: 2.812 kB / 0.7258 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.7271, allocations: 6.375 kB / 0.7258 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.7271, allocations: 6.625 kB / 0.7258 GB, free: 9.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.7272, allocations: 116.9 kB / 0.7259 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.7273, allocations: 6.938 kB / 0.726 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.7278, allocations: 372.1 kB / 0.7263 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7279, allocations: 9.531 kB / 0.7263 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7279, allocations: 0.6875 kB / 0.7263 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7279, allocations: 3.281 kB / 0.7263 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.7282, allocations: 282.2 kB / 0.7266 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.7283, allocations: 1.406 kB / 0.7266 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7284, allocations: 30.12 kB / 0.7266 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7284, allocations: 1.25 kB / 0.7266 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7284, allocations: 7.516 kB / 0.7266 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7284, allocations: 3.953 kB / 0.7266 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7284, allocations: 5.312 kB / 0.7266 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.7288, allocations: 325.4 kB / 0.7269 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.7289, allocations: 103 kB / 0.727 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.7289, allocations: 2.484 kB / 0.7271 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.7291, allocations: 10.83 kB / 0.7271 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.7291, allocations: 9.875 kB / 0.7271 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.7291, allocations: 7.656 kB / 0.7271 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.7292, allocations: 90.14 kB / 0.7272 GB, free: 8.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7292, allocations: 0 / 0.7272 GB, free: 8.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002044/0.7312, allocations: 298.6 kB / 0.7274 GB, free: 8.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/0.7344, allocations: 396 kB / 0.7278 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.7347, allocations: 119.7 kB / 0.7279 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7347, allocations: 1.5 kB / 0.7279 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.7349, allocations: 112.8 kB / 0.728 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.7353, allocations: 14.11 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.736, allocations: 399.1 kB / 0.7284 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.7363, allocations: 0.715 MB / 0.7291 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.7364, allocations: 29.5 kB / 0.7292 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.7365, allocations: 20.7 kB / 0.7292 GB, free: 7.484 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.7365, allocations: 4 kB / 0.7292 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Templates: time 0.01554/0.752, allocations: 9.978 MB / 0.7389 GB, free: 0.6562 MB / 0.545 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)