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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 73.8 kB / 19.76 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 159.2 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 177.2 MB / 203.4 MB, free: 9.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8385/0.8385, allocations: 101.3 MB / 361.1 MB, free: 10.04 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 68.98 kB / 0.5356 GB, free: 5.52 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.194, allocations: 85.88 MB / 0.6195 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.6239/0.8179, allocations: 119.2 MB / 0.7359 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008732/0.8266, allocations: 7.243 MB / 0.7429 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.8267, allocations: 0 / 0.7429 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.8269, allocations: 25.05 kB / 0.7429 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.8269, allocations: 20.77 kB / 0.743 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00482/0.8317, allocations: 1.457 MB / 0.7444 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.8319, allocations: 82.06 kB / 0.7445 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.832, allocations: 8.531 kB / 0.7445 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.8321, allocations: 63.92 kB / 0.7445 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.8322, allocations: 26.5 kB / 0.7446 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.8322, allocations: 2.938 kB / 0.7446 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.837, allocations: 2.611 MB / 0.7471 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.8371, allocations: 16.2 kB / 0.7471 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.8371, allocations: 27.34 kB / 0.7472 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.8393, allocations: 1.388 MB / 0.7485 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8393, allocations: 2.422 kB / 0.7485 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8393, allocations: 4 kB / 0.7485 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8393, allocations: 0 / 0.7485 GB, free: 12.71 MB / 0.6075 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.001053/0.8403, allocations: 429.2 kB / 0.7489 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8404, allocations: 8.938 kB / 0.7489 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.8408, allocations: 25.55 kB / 0.749 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.8409, allocations: 109.7 kB / 0.7491 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.841, allocations: 59.78 kB / 0.7491 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.841, allocations: 8.75 kB / 0.7491 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.8414, allocations: 156.8 kB / 0.7493 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8414, allocations: 0 / 0.7493 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.8414, allocations: 1.125 kB / 0.7493 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8415, allocations: 3.328 kB / 0.7493 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.8418, allocations: 116.4 kB / 0.7494 GB, free: 12.06 MB / 0.6075 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.0005362/0.8423, allocations: 272.1 kB / 0.7497 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.8426, allocations: 118.9 kB / 0.7498 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.8427, allocations: 46.31 kB / 0.7498 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.8536, allocations: 3.047 MB / 0.7528 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.8537, allocations: 41.3 kB / 0.7528 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.8537, allocations: 0 / 0.7528 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005762/0.8542, allocations: 166.2 kB / 0.753 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.8543, allocations: 58.09 kB / 0.753 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.8544, allocations: 93.98 kB / 0.7531 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.8544, allocations: 35.06 kB / 0.7532 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.8545, allocations: 81.52 kB / 0.7532 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.8545, allocations: 50.12 kB / 0.7533 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.8546, allocations: 25.97 kB / 0.7533 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8547, allocations: 328.1 kB / 0.7536 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.8548, allocations: 29.73 kB / 0.7537 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.8548, allocations: 27.11 kB / 0.7537 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.8549, allocations: 64.92 kB / 0.7537 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8549, allocations: 0 / 0.7537 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001966/0.8551, allocations: 110.8 kB / 0.7538 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8552, allocations: 9.172 kB / 0.7539 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8552, allocations: 0 / 0.7539 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.8552, allocations: 2.172 kB / 0.7539 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.8553, allocations: 21.27 kB / 0.7539 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8553, allocations: 0 / 0.7539 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.8554, allocations: 10.7 kB / 0.7539 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.8554, allocations: 6.656 kB / 0.7539 GB, free: 9.746 MB / 0.6075 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 0.0001101/0.8555, allocations: 116.5 kB / 0.754 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.8556, allocations: 7.797 kB / 0.754 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.8561, allocations: 383.3 kB / 0.7544 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.8561, allocations: 5.578 kB / 0.7544 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8561, allocations: 1.562 kB / 0.7544 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8561, allocations: 0 / 0.7544 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.8564, allocations: 223.1 kB / 0.7546 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8564, allocations: 1.125 kB / 0.7546 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.8565, allocations: 21.36 kB / 0.7546 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8565, allocations: 5.719 kB / 0.7546 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8565, allocations: 4 kB / 0.7546 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8565, allocations: 1.781 kB / 0.7546 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8565, allocations: 3.938 kB / 0.7546 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.8569, allocations: 334 kB / 0.755 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.8569, allocations: 31.27 kB / 0.755 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.857, allocations: 7.625 kB / 0.755 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.8571, allocations: 9.75 kB / 0.755 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.8571, allocations: 11.25 kB / 0.755 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.8572, allocations: 6.719 kB / 0.755 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.8572, allocations: 84.19 kB / 0.7551 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.8572, allocations: 0 / 0.7551 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001209/0.8584, allocations: 310.8 kB / 0.7554 GB, free: 8.781 MB / 0.6075 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.001174/0.8596, allocations: 406.2 kB / 0.7558 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.8598, allocations: 120.5 kB / 0.7559 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8598, allocations: 0 / 0.7559 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.8599, allocations: 91.81 kB / 0.756 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.8602, allocations: 21.77 kB / 0.756 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.8608, allocations: 318.3 kB / 0.7563 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.8609, allocations: 107.7 kB / 0.7564 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.772e-05/0.861, allocations: 27.45 kB / 0.7564 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.861, allocations: 20.31 kB / 0.7565 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.861, allocations: 0 / 0.7565 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.01411/0.8751, allocations: 9.835 MB / 0.7661 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.530713435262442] Failed to read output from testmodel.py, exit status != 0: 0.8837106367573142 0.896403591 0.054262846 Calling exit ...