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.001301/0.001301, allocations: 93.06 kB / 19.65 MB, free: 276 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.00143/0.00143, allocations: 169 kB / 23.02 MB, free: 1.547 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.06/1.06, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7829/0.7829, allocations: 154.9 MB / 414.8 MB, free: 424 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 179] 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.804e-06/1.804e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.683e-05/3.863e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1376/0.1376, allocations: 131.3 MB / 0.6489 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007189/0.1448, allocations: 7.952 MB / 0.6566 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.1448, allocations: 0 / 0.6566 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.145, allocations: 15.92 kB / 0.6566 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1451, allocations: 23.77 kB / 0.6567 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.1482, allocations: 1.479 MB / 0.6581 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1483, allocations: 71.59 kB / 0.6582 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1483, allocations: 7.984 kB / 0.6582 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1485, allocations: 63.81 kB / 0.6582 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1486, allocations: 23.91 kB / 0.6583 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1486, allocations: 4 kB / 0.6583 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.1518, allocations: 2.621 MB / 0.6608 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.1518, allocations: 7.984 kB / 0.6608 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.1518, allocations: 27.92 kB / 0.6609 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.1544, allocations: 1.805 MB / 0.6626 GB, free: 156 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1544, allocations: 0 / 0.6626 GB, free: 156 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1544, allocations: 0 / 0.6626 GB, free: 156 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.1544, allocations: 0 / 0.6626 GB, free: 156 kB / 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.001073/0.1555, allocations: 0.5153 MB / 0.6631 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1555, allocations: 12.03 kB / 0.6631 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.1558, allocations: 60.5 kB / 0.6632 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.1559, allocations: 104.6 kB / 0.6633 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/0.1559, allocations: 59.97 kB / 0.6634 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.156, allocations: 8.312 kB / 0.6634 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1562, allocations: 157.5 kB / 0.6635 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1562, allocations: 0 / 0.6635 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1562, allocations: 11.98 kB / 0.6635 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1562, allocations: 0 / 0.6635 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1564, allocations: 87.91 kB / 0.6636 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1568, allocations: 319.6 kB / 0.6639 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.157, allocations: 123 kB / 0.664 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.157, allocations: 47.66 kB / 0.6641 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005466/0.1625, allocations: 3.047 MB / 0.6671 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1625, allocations: 33.39 kB / 0.6671 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1625, allocations: 0 / 0.6671 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003559/0.1629, allocations: 161.4 kB / 0.6672 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1629, allocations: 55.41 kB / 0.6673 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.163, allocations: 157.9 kB / 0.6674 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.163, allocations: 25.7 kB / 0.6675 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.163, allocations: 134.8 kB / 0.6676 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1631, allocations: 55.58 kB / 0.6676 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1631, allocations: 35.36 kB / 0.6677 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1632, allocations: 0.4884 MB / 0.6682 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.1633, allocations: 16 kB / 0.6682 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.1633, allocations: 19.98 kB / 0.6682 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.1634, allocations: 70.73 kB / 0.6683 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1634, allocations: 0 / 0.6683 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001359/0.1635, allocations: 105.5 kB / 0.6684 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1635, allocations: 4 kB / 0.6684 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1635, allocations: 0 / 0.6684 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1635, allocations: 4 kB / 0.6684 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.1636, allocations: 27.98 kB / 0.6684 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1636, allocations: 0 / 0.6684 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.1636, allocations: 11.89 kB / 0.6684 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1637, allocations: 3.984 kB / 0.6684 GB, free: 10 MB / 0.6355 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 7.234e-05/0.1637, allocations: 168.5 kB / 0.6686 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1638, allocations: 15.95 kB / 0.6686 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.164, allocations: 258.7 kB / 0.6688 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.164, allocations: 3.984 kB / 0.6688 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.164, allocations: 0 / 0.6688 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.164, allocations: 8 kB / 0.6688 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1642, allocations: 204.1 kB / 0.669 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1642, allocations: 0 / 0.669 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.1643, allocations: 27.92 kB / 0.6691 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1643, allocations: 4 kB / 0.6691 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1643, allocations: 0 / 0.6691 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1643, allocations: 0 / 0.6691 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1643, allocations: 0 / 0.6691 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1645, allocations: 340.3 kB / 0.6694 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1645, allocations: 31.75 kB / 0.6694 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1645, allocations: 4 kB / 0.6694 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.1646, allocations: 8 kB / 0.6694 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.1646, allocations: 11.97 kB / 0.6694 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1646, allocations: 4 kB / 0.6695 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.1647, allocations: 123.2 kB / 0.6696 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1647, allocations: 0 / 0.6696 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005912/0.1653, allocations: 303.7 kB / 0.6699 GB, free: 8.441 MB / 0.6355 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.0009584/0.1662, allocations: 458.9 kB / 0.6703 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1664, allocations: 93.7 kB / 0.6704 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1664, allocations: 0 / 0.6704 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.1665, allocations: 75.59 kB / 0.6705 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1667, allocations: 38.23 kB / 0.6705 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.1674, allocations: 294.3 kB / 0.6708 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.1674, allocations: 71.84 kB / 0.6708 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.281e-05/0.1675, allocations: 34.38 kB / 0.6709 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1675, allocations: 16.5 kB / 0.6709 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.1675, allocations: 0 / 0.6709 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.3009/0.4685, allocations: 11.71 MB / 0.6823 GB, free: 64.41 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9701069933362305]