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.001163/0.001168, allocations: 108.8 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.001155/0.001155, allocations: 189.4 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.855/0.855, allocations: 135.1 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1534/0.5021, allocations: 135.6 MB / 0.7174 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009217/0.5113, allocations: 7.915 MB / 0.7251 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.5114, allocations: 4 kB / 0.7251 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.5116, allocations: 27.81 kB / 0.7252 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.5117, allocations: 15.86 kB / 0.7252 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.5153, allocations: 1.469 MB / 0.7266 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.5155, allocations: 67.72 kB / 0.7267 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.5155, allocations: 4 kB / 0.7267 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.5157, allocations: 63.7 kB / 0.7267 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.5158, allocations: 31.89 kB / 0.7268 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5158, allocations: 4 kB / 0.7268 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.5203, allocations: 2.641 MB / 0.7294 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.5204, allocations: 19.92 kB / 0.7294 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.5204, allocations: 27.86 kB / 0.7294 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.5229, allocations: 1.376 MB / 0.7307 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.5229, allocations: 4 kB / 0.7307 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5229, allocations: 3.938 kB / 0.7307 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5229, allocations: 0 / 0.7307 GB, free: 4.824 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.001269/0.5242, allocations: 0.4912 MB / 0.7312 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5243, allocations: 9.109 kB / 0.7312 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.5247, allocations: 20.92 kB / 0.7313 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.5249, allocations: 176.2 kB / 0.7314 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.525, allocations: 34.27 kB / 0.7315 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.525, allocations: 7.938 kB / 0.7315 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.5254, allocations: 117.6 kB / 0.7316 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5255, allocations: 0 / 0.7316 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.5255, allocations: 7.922 kB / 0.7316 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5255, allocations: 0 / 0.7316 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.5258, allocations: 119.9 kB / 0.7317 GB, free: 3.754 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.0005591/0.5264, allocations: 380 kB / 0.7321 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.5267, allocations: 129.2 kB / 0.7322 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.5268, allocations: 60.72 kB / 0.7322 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.5394, allocations: 4.195 MB / 0.7363 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.5395, allocations: 34.56 kB / 0.7364 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5395, allocations: 0 / 0.7364 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006294/0.5401, allocations: 161.6 kB / 0.7365 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5402, allocations: 55.41 kB / 0.7366 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.5403, allocations: 97.84 kB / 0.7367 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5403, allocations: 33.7 kB / 0.7367 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5404, allocations: 84.05 kB / 0.7368 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.5405, allocations: 51.52 kB / 0.7368 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.5406, allocations: 25.7 kB / 0.7369 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5407, allocations: 318.8 kB / 0.7372 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.5408, allocations: 27.92 kB / 0.7372 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.5408, allocations: 29.61 kB / 0.7372 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5409, allocations: 68.84 kB / 0.7373 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.541, allocations: 4 kB / 0.7373 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002081/0.5412, allocations: 112.2 kB / 0.7374 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5412, allocations: 4 kB / 0.7374 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5412, allocations: 4 kB / 0.7374 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5412, allocations: 0 / 0.7374 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5414, allocations: 23.92 kB / 0.7374 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5414, allocations: 4 kB / 0.7374 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.5414, allocations: 11.84 kB / 0.7374 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.5415, allocations: 4.188 kB / 0.7374 GB, free: 13.41 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.879e-05/0.5416, allocations: 121.8 kB / 0.7376 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.5416, allocations: 0 / 0.7376 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.5421, allocations: 367.7 kB / 0.7379 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5421, allocations: 11.92 kB / 0.7379 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5421, allocations: 3.938 kB / 0.7379 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5421, allocations: 7.938 kB / 0.7379 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.5424, allocations: 281.3 kB / 0.7382 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5424, allocations: 3.984 kB / 0.7382 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5426, allocations: 24 kB / 0.7382 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5426, allocations: 0 / 0.7382 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5426, allocations: 3.984 kB / 0.7382 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5426, allocations: 0 / 0.7382 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5426, allocations: 0 / 0.7382 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.543, allocations: 342.8 kB / 0.7386 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.5431, allocations: 104.9 kB / 0.7387 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.5431, allocations: 4 kB / 0.7387 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5432, allocations: 4 kB / 0.7387 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.5433, allocations: 11.98 kB / 0.7387 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5433, allocations: 11.92 kB / 0.7387 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.5433, allocations: 79.28 kB / 0.7388 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5433, allocations: 0 / 0.7388 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000926/0.5443, allocations: 307.8 kB / 0.7391 GB, free: 11.66 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.001466/0.5457, allocations: 389.9 kB / 0.7394 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.546, allocations: 135.9 kB / 0.7396 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.546, allocations: 0 / 0.7396 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.5462, allocations: 119.8 kB / 0.7397 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.5465, allocations: 12 kB / 0.7397 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.5471, allocations: 346.7 kB / 0.74 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.5473, allocations: 0.7166 MB / 0.7407 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.5474, allocations: 19.42 kB / 0.7407 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5474, allocations: 0 / 0.7407 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.0109/0.5583, allocations: 6.75 MB / 0.7473 GB, free: 3.125 MB / 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)