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.001123/0.001123, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001111/0.001111, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7993/0.7993, allocations: 132.2 MB / 423.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.08 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3416, allocations: 80.18 MB / 0.5807 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1307/0.4723, allocations: 135.6 MB / 0.7131 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008547/0.4808, allocations: 7.915 MB / 0.7209 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.4809, allocations: 0 / 0.7209 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.4811, allocations: 19.84 kB / 0.7209 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.4812, allocations: 27.83 kB / 0.7209 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.4851, allocations: 1.463 MB / 0.7223 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.4852, allocations: 71.66 kB / 0.7224 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.4853, allocations: 11.98 kB / 0.7224 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.4855, allocations: 59.7 kB / 0.7225 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.4856, allocations: 23.92 kB / 0.7225 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4857, allocations: 4 kB / 0.7225 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.4898, allocations: 2.645 MB / 0.7251 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.4899, allocations: 19.91 kB / 0.7251 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.4899, allocations: 27.86 kB / 0.7251 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.4918, allocations: 1.38 MB / 0.7265 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4918, allocations: 0 / 0.7265 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4918, allocations: 0 / 0.7265 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4918, allocations: 0 / 0.7265 GB, free: 8.637 MB / 0.5606 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.0009665/0.4928, allocations: 0.4972 MB / 0.727 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4928, allocations: 8.031 kB / 0.727 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.4932, allocations: 24.83 kB / 0.727 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4933, allocations: 168.3 kB / 0.7272 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.4934, allocations: 34.25 kB / 0.7272 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.4934, allocations: 11.94 kB / 0.7272 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.4938, allocations: 117.5 kB / 0.7273 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4938, allocations: 4 kB / 0.7273 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4938, allocations: 0 / 0.7273 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4938, allocations: 4 kB / 0.7273 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.4941, allocations: 119.9 kB / 0.7274 GB, free: 7.562 MB / 0.5606 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.0005582/0.4947, allocations: 376.1 kB / 0.7278 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.4949, allocations: 130.5 kB / 0.7279 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.495, allocations: 64.83 kB / 0.728 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.5069, allocations: 4.203 MB / 0.7321 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5069, allocations: 30.56 kB / 0.7321 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.5069, allocations: 0 / 0.7321 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005121/0.5075, allocations: 169.5 kB / 0.7323 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5075, allocations: 51.41 kB / 0.7323 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.5076, allocations: 101.8 kB / 0.7324 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5076, allocations: 29.7 kB / 0.7325 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.5077, allocations: 84.14 kB / 0.7325 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.5077, allocations: 47.44 kB / 0.7326 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.5078, allocations: 25.7 kB / 0.7326 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5079, allocations: 322.8 kB / 0.7329 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.508, allocations: 27.98 kB / 0.7329 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.508, allocations: 23.98 kB / 0.733 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5082, allocations: 74.97 kB / 0.733 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5082, allocations: 0 / 0.733 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001839/0.5084, allocations: 101.7 kB / 0.7331 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5084, allocations: 4 kB / 0.7331 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5084, allocations: 3.938 kB / 0.7331 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5084, allocations: 7.938 kB / 0.7331 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.5086, allocations: 23.98 kB / 0.7332 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5086, allocations: 0 / 0.7332 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.5086, allocations: 15.84 kB / 0.7332 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5087, allocations: 0 / 0.7332 GB, free: 1.219 MB / 0.5606 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.592e-05/0.5087, allocations: 113.8 kB / 0.7333 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.5088, allocations: 4 kB / 0.7333 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.5092, allocations: 387.5 kB / 0.7337 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5092, allocations: 3.984 kB / 0.7337 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5093, allocations: 0 / 0.7337 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5093, allocations: 7.938 kB / 0.7337 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.5095, allocations: 277.6 kB / 0.7339 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5095, allocations: 0 / 0.7339 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.5097, allocations: 23.98 kB / 0.734 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5097, allocations: 3.984 kB / 0.734 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5097, allocations: 7.984 kB / 0.734 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.5097, allocations: 0 / 0.734 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5097, allocations: 4 kB / 0.734 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.51, allocations: 337.6 kB / 0.7343 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.5101, allocations: 104.8 kB / 0.7344 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.5102, allocations: 4 kB / 0.7344 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5103, allocations: 8 kB / 0.7344 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.5103, allocations: 11.98 kB / 0.7344 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5104, allocations: 7.938 kB / 0.7344 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.5104, allocations: 87.27 kB / 0.7345 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5104, allocations: 0 / 0.7345 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008222/0.5112, allocations: 299.9 kB / 0.7348 GB, free: 15.46 MB / 0.5762 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.001159/0.5124, allocations: 398.9 kB / 0.7352 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.5126, allocations: 130.8 kB / 0.7353 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5127, allocations: 7.875 kB / 0.7353 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5128, allocations: 108 kB / 0.7354 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.5131, allocations: 18.33 kB / 0.7354 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.5136, allocations: 342.2 kB / 0.7358 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.5139, allocations: 0.7166 MB / 0.7365 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.5139, allocations: 19.42 kB / 0.7365 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5139, allocations: 0 / 0.7365 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Templates: time 0.01012/0.5241, allocations: 6.756 MB / 0.7431 GB, free: 6.926 MB / 0.5762 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)