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.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.001351/0.001351, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.00149/0.00149, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.489/1.489, allocations: 177.1 MB / 203.1 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.225/1.225, allocations: 154.8 MB / 414.3 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.551e-05, allocations: 6.219 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1943/0.1944, allocations: 119.2 MB / 0.6362 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2055, allocations: 7.243 MB / 0.6432 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.2055, allocations: 0 / 0.6432 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.2058, allocations: 19.91 kB / 0.6433 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.2058, allocations: 27.78 kB / 0.6433 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.2106, allocations: 1.471 MB / 0.6447 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.2108, allocations: 75.64 kB / 0.6448 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.2108, allocations: 4 kB / 0.6448 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.211, allocations: 59.75 kB / 0.6449 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2111, allocations: 31.95 kB / 0.6449 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2112, allocations: 0 / 0.6449 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006429/0.2176, allocations: 2.61 MB / 0.6474 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.2177, allocations: 19.91 kB / 0.6475 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.2177, allocations: 27.97 kB / 0.6475 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.2217, allocations: 1.801 MB / 0.6492 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2217, allocations: 4 kB / 0.6493 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2217, allocations: 0 / 0.6493 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2217, allocations: 0 / 0.6493 GB, free: 13.48 MB / 0.6198 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.001275/0.223, allocations: 433.1 kB / 0.6497 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2231, allocations: 8.031 kB / 0.6497 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.2235, allocations: 52.62 kB / 0.6497 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.2238, allocations: 109.7 kB / 0.6498 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.2239, allocations: 55.97 kB / 0.6499 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2239, allocations: 12.38 kB / 0.6499 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.2244, allocations: 147.6 kB / 0.65 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2244, allocations: 0 / 0.65 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2244, allocations: 8 kB / 0.65 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2244, allocations: 0 / 0.65 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2247, allocations: 119.8 kB / 0.6502 GB, free: 12.48 MB / 0.6198 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.0006022/0.2253, allocations: 264.4 kB / 0.6504 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.2256, allocations: 118.5 kB / 0.6505 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.2257, allocations: 48.78 kB / 0.6506 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.2372, allocations: 3.043 MB / 0.6535 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.2373, allocations: 30.56 kB / 0.6536 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.464e-06/0.2373, allocations: 0 / 0.6536 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007188/0.238, allocations: 177.5 kB / 0.6537 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.2381, allocations: 55.39 kB / 0.6538 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2382, allocations: 109.8 kB / 0.6539 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2382, allocations: 29.7 kB / 0.6539 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.2383, allocations: 80.14 kB / 0.654 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.2383, allocations: 51.53 kB / 0.654 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.2384, allocations: 29.7 kB / 0.6541 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2386, allocations: 314.8 kB / 0.6544 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.2387, allocations: 27.98 kB / 0.6544 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.2387, allocations: 23.98 kB / 0.6544 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2388, allocations: 71.78 kB / 0.6545 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2388, allocations: 4 kB / 0.6545 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002169/0.2391, allocations: 105.7 kB / 0.6546 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.2391, allocations: 16.72 kB / 0.6546 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2391, allocations: 0 / 0.6546 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.2391, allocations: 0 / 0.6546 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.2393, allocations: 23.98 kB / 0.6546 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2393, allocations: 4 kB / 0.6546 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.2393, allocations: 7.891 kB / 0.6546 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2394, allocations: 4 kB / 0.6547 GB, free: 7.758 MB / 0.6198 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.0001158/0.2395, allocations: 113.8 kB / 0.6548 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.2395, allocations: 19.94 kB / 0.6548 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.2401, allocations: 374 kB / 0.6551 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.2402, allocations: 11.98 kB / 0.6551 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2402, allocations: 4 kB / 0.6552 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2402, allocations: 0 / 0.6552 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.2405, allocations: 225 kB / 0.6554 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2405, allocations: 0 / 0.6554 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2406, allocations: 19.98 kB / 0.6554 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2406, allocations: 4 kB / 0.6554 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2406, allocations: 4 kB / 0.6554 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2406, allocations: 0 / 0.6554 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2406, allocations: 3.938 kB / 0.6554 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.2411, allocations: 355.5 kB / 0.6557 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.2412, allocations: 23.83 kB / 0.6558 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2412, allocations: 4 kB / 0.6558 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2414, allocations: 11.98 kB / 0.6558 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.2414, allocations: 3.984 kB / 0.6558 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2414, allocations: 11.98 kB / 0.6558 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.2415, allocations: 79.28 kB / 0.6559 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2415, allocations: 0 / 0.6559 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001138/0.2426, allocations: 307.6 kB / 0.6562 GB, free: 6.152 MB / 0.6198 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.001413/0.244, allocations: 446.6 kB / 0.6566 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.2443, allocations: 124 kB / 0.6567 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2443, allocations: 0 / 0.6567 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.2447, allocations: 91.89 kB / 0.6568 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2451, allocations: 27.91 kB / 0.6568 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.2458, allocations: 316.6 kB / 0.6571 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2459, allocations: 102.1 kB / 0.6572 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.246, allocations: 32.39 kB / 0.6572 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.2461, allocations: 20.5 kB / 0.6573 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2461, allocations: 0 / 0.6573 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of Templates: time 0.01901/0.2651, allocations: 10.03 MB / 0.6671 GB, free: 10.97 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.80434705899097]