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.005542/0.005542, allocations: 103 kB / 15.73 MB, free: 6.051 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.001315/0.001315, allocations: 193 kB / 16.67 MB, free: 5.98 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9979/0.9979, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 55.91 kB / 0.5856 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4389, allocations: 80.92 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.164/0.603, allocations: 135.6 MB / 0.797 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.6132, allocations: 7.927 MB / 0.8048 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.6134, allocations: 0 / 0.8048 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.6136, allocations: 23.83 kB / 0.8048 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.6137, allocations: 23.84 kB / 0.8048 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.618, allocations: 1.467 MB / 0.8062 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.6181, allocations: 83.58 kB / 0.8063 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.6182, allocations: 4 kB / 0.8063 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.6183, allocations: 47.83 kB / 0.8064 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.6185, allocations: 31.86 kB / 0.8064 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.6185, allocations: 0 / 0.8064 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.6233, allocations: 2.708 MB / 0.809 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.6233, allocations: 15.97 kB / 0.8091 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.6234, allocations: 27.86 kB / 0.8091 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.6261, allocations: 1.39 MB / 0.8104 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6261, allocations: 0 / 0.8104 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6261, allocations: 4 kB / 0.8104 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6262, allocations: 0 / 0.8104 GB, free: 11.83 MB / 0.6387 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.001067/0.6272, allocations: 499.1 kB / 0.8109 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6273, allocations: 12.03 kB / 0.8109 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.6276, allocations: 24.83 kB / 0.811 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6278, allocations: 172.3 kB / 0.8111 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.6278, allocations: 30.27 kB / 0.8112 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.6279, allocations: 11.94 kB / 0.8112 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.6282, allocations: 125.5 kB / 0.8113 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6282, allocations: 0 / 0.8113 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.6283, allocations: 4 kB / 0.8113 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6283, allocations: 0 / 0.8113 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.6286, allocations: 115.9 kB / 0.8114 GB, free: 10.76 MB / 0.6387 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.0004781/0.629, allocations: 372.1 kB / 0.8118 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.6293, allocations: 142.5 kB / 0.8119 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.6294, allocations: 48.84 kB / 0.8119 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.6404, allocations: 4.226 MB / 0.8161 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.6405, allocations: 34.56 kB / 0.8161 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.6405, allocations: 0 / 0.8161 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005547/0.641, allocations: 167.8 kB / 0.8163 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.6411, allocations: 55.41 kB / 0.8163 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.6412, allocations: 97.84 kB / 0.8164 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.6412, allocations: 29.7 kB / 0.8164 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.6413, allocations: 92.02 kB / 0.8165 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.6413, allocations: 51.42 kB / 0.8166 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.6414, allocations: 29.7 kB / 0.8166 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6415, allocations: 318.8 kB / 0.8169 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.6416, allocations: 23.98 kB / 0.8169 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.6416, allocations: 27.98 kB / 0.8169 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.6417, allocations: 68.84 kB / 0.817 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6417, allocations: 0 / 0.817 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001746/0.6419, allocations: 116 kB / 0.8171 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6419, allocations: 4 kB / 0.8171 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.642, allocations: 0 / 0.8171 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.642, allocations: 0 / 0.8171 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6421, allocations: 23.92 kB / 0.8172 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6421, allocations: 4 kB / 0.8172 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.6422, allocations: 11.84 kB / 0.8172 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.6422, allocations: 4 kB / 0.8172 GB, free: 4.387 MB / 0.6387 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.527e-05/0.6423, allocations: 111.4 kB / 0.8173 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.6423, allocations: 11.91 kB / 0.8173 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.6428, allocations: 364.3 kB / 0.8176 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.6428, allocations: 7.984 kB / 0.8176 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6428, allocations: 0 / 0.8176 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6428, allocations: 3.938 kB / 0.8176 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.6431, allocations: 281.1 kB / 0.8179 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6431, allocations: 0 / 0.8179 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.6432, allocations: 27.98 kB / 0.8179 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6433, allocations: 0 / 0.8179 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6433, allocations: 4 kB / 0.8179 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6433, allocations: 4 kB / 0.818 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6433, allocations: 3.984 kB / 0.818 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.6436, allocations: 335.7 kB / 0.8183 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.6437, allocations: 100.8 kB / 0.8184 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6437, allocations: 4 kB / 0.8184 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6439, allocations: 7.984 kB / 0.8184 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.6439, allocations: 7.984 kB / 0.8184 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.6439, allocations: 15.94 kB / 0.8184 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.644, allocations: 83.27 kB / 0.8185 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.644, allocations: 7.875 kB / 0.8185 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001094/0.6451, allocations: 303.9 kB / 0.8188 GB, free: 2.641 MB / 0.6387 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.001203/0.6463, allocations: 384.6 kB / 0.8191 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.6466, allocations: 134.4 kB / 0.8193 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6466, allocations: 0 / 0.8193 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.6467, allocations: 111.9 kB / 0.8194 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.6471, allocations: 23.97 kB / 0.8194 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.6476, allocations: 300.5 kB / 0.8197 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.648, allocations: 0.7127 MB / 0.8204 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.6481, allocations: 32.33 kB / 0.8204 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.6482, allocations: 23.42 kB / 0.8204 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.6482, allocations: 3.938 kB / 0.8204 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of Templates: time 0.01557/0.6637, allocations: 9.791 MB / 0.83 GB, free: 7.086 MB / 0.6544 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)