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.001078/0.001078, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.00104/0.00104, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8025/0.8025, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3587, allocations: 80.91 MB / 0.5857 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1458/0.5046, allocations: 135.6 MB / 0.7181 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.5148, allocations: 7.919 MB / 0.7259 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.5149, allocations: 3.938 kB / 0.7259 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.5152, allocations: 23.83 kB / 0.7259 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.5154, allocations: 15.84 kB / 0.7259 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.5195, allocations: 1.462 MB / 0.7274 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.5197, allocations: 79.62 kB / 0.7274 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.5197, allocations: 4 kB / 0.7274 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.52, allocations: 55.83 kB / 0.7275 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.5201, allocations: 27.86 kB / 0.7275 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.5201, allocations: 0 / 0.7275 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/0.5246, allocations: 2.704 MB / 0.7302 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.5246, allocations: 19.91 kB / 0.7302 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.5247, allocations: 35.86 kB / 0.7302 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.5265, allocations: 1.376 MB / 0.7316 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5265, allocations: 0 / 0.7316 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5265, allocations: 0 / 0.7316 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.5265, allocations: 0 / 0.7316 GB, free: 4.754 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.0008771/0.5274, allocations: 0.499 MB / 0.732 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5275, allocations: 13.11 kB / 0.7321 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.5278, allocations: 16.92 kB / 0.7321 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.528, allocations: 176.2 kB / 0.7322 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.5281, allocations: 34.2 kB / 0.7323 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.5281, allocations: 11.94 kB / 0.7323 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.5285, allocations: 109.6 kB / 0.7324 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5285, allocations: 4 kB / 0.7324 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5285, allocations: 8 kB / 0.7324 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.5285, allocations: 3.984 kB / 0.7324 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.5288, allocations: 111.9 kB / 0.7325 GB, free: 3.68 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.000529/0.5294, allocations: 376.1 kB / 0.7329 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5296, allocations: 130.5 kB / 0.733 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.5297, allocations: 60.78 kB / 0.733 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.5412, allocations: 4.218 MB / 0.7372 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.5413, allocations: 38.56 kB / 0.7372 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.5413, allocations: 0 / 0.7372 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005214/0.5418, allocations: 168.4 kB / 0.7374 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.5419, allocations: 55.41 kB / 0.7374 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.5419, allocations: 101.8 kB / 0.7375 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.542, allocations: 25.7 kB / 0.7375 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.542, allocations: 88.05 kB / 0.7376 GB, free: 14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.542, allocations: 47.52 kB / 0.7377 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.5421, allocations: 29.72 kB / 0.7377 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5422, allocations: 322.8 kB / 0.738 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.5423, allocations: 23.98 kB / 0.738 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.5423, allocations: 31.92 kB / 0.7381 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5424, allocations: 68.84 kB / 0.7381 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5425, allocations: 0 / 0.7381 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001875/0.5426, allocations: 114.5 kB / 0.7382 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5427, allocations: 5.875 kB / 0.7382 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5427, allocations: 0 / 0.7382 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5427, allocations: 4.188 kB / 0.7382 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5428, allocations: 19.98 kB / 0.7383 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5429, allocations: 4 kB / 0.7383 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.5429, allocations: 7.844 kB / 0.7383 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.5429, allocations: 11.98 kB / 0.7383 GB, free: 13.3 MB / 0.5762 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 8.826e-05/0.543, allocations: 117.8 kB / 0.7384 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.5431, allocations: 0 / 0.7384 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.5435, allocations: 360.1 kB / 0.7387 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5435, allocations: 15.98 kB / 0.7388 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5436, allocations: 0 / 0.7388 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5436, allocations: 7.875 kB / 0.7388 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.5438, allocations: 281.3 kB / 0.739 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5438, allocations: 0 / 0.739 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5439, allocations: 23.98 kB / 0.7391 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.544, allocations: 3.938 kB / 0.7391 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.544, allocations: 4 kB / 0.7391 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.544, allocations: 0 / 0.7391 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.544, allocations: 0 / 0.7391 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.5443, allocations: 342.8 kB / 0.7394 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.5444, allocations: 100.9 kB / 0.7395 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.5444, allocations: 0 / 0.7395 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5446, allocations: 11.98 kB / 0.7395 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.5446, allocations: 11.92 kB / 0.7395 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.5446, allocations: 11.94 kB / 0.7395 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.5447, allocations: 83.27 kB / 0.7396 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5447, allocations: 0 / 0.7396 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009231/0.5456, allocations: 307.8 kB / 0.7399 GB, free: 11.55 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.001196/0.5468, allocations: 390.9 kB / 0.7403 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.547, allocations: 124 kB / 0.7404 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.547, allocations: 0 / 0.7404 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5472, allocations: 111.9 kB / 0.7405 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.5475, allocations: 22.75 kB / 0.7405 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.548, allocations: 321 kB / 0.7408 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.5483, allocations: 0.7127 MB / 0.7415 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.665e-05/0.5484, allocations: 22.52 kB / 0.7415 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.5485, allocations: 23.42 kB / 0.7416 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5485, allocations: 0 / 0.7416 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.01399/0.5625, allocations: 9.773 MB / 0.7511 GB, free: 28 kB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)