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.001043/0.001043, allocations: 106.2 kB / 16.37 MB, free: 6.477 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.001077/0.001077, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7813/0.7813, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.5067 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3617, allocations: 80.9 MB / 0.5857 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1434/0.5052, allocations: 135.6 MB / 0.7182 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008179/0.5134, allocations: 7.912 MB / 0.7259 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.5135, allocations: 7.938 kB / 0.7259 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.5137, allocations: 27.83 kB / 0.7259 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.5138, allocations: 15.84 kB / 0.7259 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.5171, allocations: 1.461 MB / 0.7274 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.5172, allocations: 79.59 kB / 0.7274 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.5173, allocations: 4 kB / 0.7274 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.5174, allocations: 43.83 kB / 0.7275 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.5175, allocations: 43.89 kB / 0.7275 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.5175, allocations: 0 / 0.7275 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.5214, allocations: 2.704 MB / 0.7302 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.5215, allocations: 15.92 kB / 0.7302 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.5215, allocations: 27.86 kB / 0.7302 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.5231, allocations: 1.384 MB / 0.7316 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5231, allocations: 0 / 0.7316 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5231, allocations: 0 / 0.7316 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5232, allocations: 0 / 0.7316 GB, free: 4.801 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.0008327/0.524, allocations: 0.4913 MB / 0.732 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.524, allocations: 9.109 kB / 0.732 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.5244, allocations: 28.91 kB / 0.7321 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5245, allocations: 176.2 kB / 0.7322 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.5246, allocations: 30.27 kB / 0.7323 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.5246, allocations: 7.938 kB / 0.7323 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.5249, allocations: 125.5 kB / 0.7324 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5249, allocations: 0 / 0.7324 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.525, allocations: 4 kB / 0.7324 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.525, allocations: 7.984 kB / 0.7324 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.5253, allocations: 115.9 kB / 0.7325 GB, free: 3.719 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.0004344/0.5257, allocations: 380 kB / 0.7329 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.526, allocations: 122.6 kB / 0.733 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.526, allocations: 56.83 kB / 0.7331 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.5368, allocations: 4.222 MB / 0.7372 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5369, allocations: 38.56 kB / 0.7372 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.5369, allocations: 0 / 0.7372 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005123/0.5374, allocations: 163.9 kB / 0.7374 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.5374, allocations: 55.34 kB / 0.7374 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.5375, allocations: 101.8 kB / 0.7375 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5375, allocations: 29.7 kB / 0.7376 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.5376, allocations: 84.05 kB / 0.7376 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.5376, allocations: 43.53 kB / 0.7377 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.5377, allocations: 29.7 kB / 0.7377 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5378, allocations: 322.8 kB / 0.738 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.5379, allocations: 23.98 kB / 0.738 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.5379, allocations: 31.92 kB / 0.7381 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.538, allocations: 70.84 kB / 0.7381 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.538, allocations: 0 / 0.7381 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000175/0.5382, allocations: 109.5 kB / 0.7382 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5382, allocations: 11.94 kB / 0.7382 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5383, allocations: 0 / 0.7382 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5383, allocations: 4 kB / 0.7382 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5384, allocations: 19.98 kB / 0.7383 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5384, allocations: 4 kB / 0.7383 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.5385, allocations: 11.84 kB / 0.7383 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5385, allocations: 4 kB / 0.7383 GB, free: 13.36 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.327e-05/0.5386, allocations: 109.8 kB / 0.7384 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.5386, allocations: 7.984 kB / 0.7384 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.5391, allocations: 364.1 kB / 0.7387 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.5391, allocations: 7.984 kB / 0.7388 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5391, allocations: 4 kB / 0.7388 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5391, allocations: 3.938 kB / 0.7388 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.5394, allocations: 281.3 kB / 0.739 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5394, allocations: 0 / 0.739 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.5395, allocations: 23.98 kB / 0.7391 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5395, allocations: 4 kB / 0.7391 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5395, allocations: 7.984 kB / 0.7391 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5395, allocations: 0 / 0.7391 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5395, allocations: 3.938 kB / 0.7391 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.5399, allocations: 342.8 kB / 0.7394 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.54, allocations: 100.9 kB / 0.7395 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.54, allocations: 4 kB / 0.7395 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5401, allocations: 4 kB / 0.7395 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.5402, allocations: 15.92 kB / 0.7395 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.5402, allocations: 7.938 kB / 0.7395 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.5402, allocations: 87.44 kB / 0.7396 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5402, allocations: 0 / 0.7396 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008764/0.5411, allocations: 311.8 kB / 0.7399 GB, free: 11.59 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.001137/0.5423, allocations: 400.3 kB / 0.7403 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.5425, allocations: 120 kB / 0.7404 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5425, allocations: 0 / 0.7404 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5427, allocations: 111.9 kB / 0.7405 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.543, allocations: 18.17 kB / 0.7405 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.5435, allocations: 305.1 kB / 0.7408 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5438, allocations: 0.7166 MB / 0.7415 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.5439, allocations: 34.95 kB / 0.7415 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.5439, allocations: 23.44 kB / 0.7416 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5439, allocations: 0 / 0.7416 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of Templates: time 0.01452/0.5585, allocations: 9.776 MB / 0.7511 GB, free: 72 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)