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.001412/0.001412, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001848/0.001848, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.9794/0.9794, allocations: 177.1 MB / 203.8 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.8088/0.8088, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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 2.224e-06/2.224e-06, allocations: 0.5469 kB / 0.5205 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.545e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1379/0.1379, allocations: 131 MB / 0.6485 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007229/0.1452, allocations: 7.94 MB / 0.6563 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.1452, allocations: 4 kB / 0.6563 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1455, allocations: 19.89 kB / 0.6563 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.1455, allocations: 11.86 kB / 0.6563 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.1487, allocations: 1.475 MB / 0.6577 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1489, allocations: 79.58 kB / 0.6578 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.1489, allocations: 8 kB / 0.6578 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.149, allocations: 55.86 kB / 0.6579 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.1491, allocations: 23.91 kB / 0.6579 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1491, allocations: 4 kB / 0.6579 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.1524, allocations: 2.625 MB / 0.6605 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.1524, allocations: 11.98 kB / 0.6605 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.1525, allocations: 23.91 kB / 0.6605 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.1549, allocations: 1.801 MB / 0.6622 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1549, allocations: 0 / 0.6622 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1549, allocations: 4 kB / 0.6623 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1549, allocations: 4 kB / 0.6623 GB, free: 0.8906 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.0008655/0.1558, allocations: 0.5191 MB / 0.6628 GB, free: 344 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1558, allocations: 8.031 kB / 0.6628 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.1562, allocations: 56.5 kB / 0.6628 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1563, allocations: 112.6 kB / 0.6629 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.1564, allocations: 59.97 kB / 0.663 GB, free: 68 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1564, allocations: 4.375 kB / 0.663 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1567, allocations: 160.2 kB / 0.6631 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1567, allocations: 4 kB / 0.6631 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1567, allocations: 0 / 0.6631 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1567, allocations: 4 kB / 0.6632 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1569, allocations: 91.84 kB / 0.6632 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1573, allocations: 315.6 kB / 0.6635 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1575, allocations: 123 kB / 0.6637 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.1576, allocations: 39.66 kB / 0.6637 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005467/0.163, allocations: 3.051 MB / 0.6667 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1631, allocations: 37.39 kB / 0.6667 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.1631, allocations: 0 / 0.6667 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004592/0.1635, allocations: 165.5 kB / 0.6669 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1636, allocations: 51.41 kB / 0.6669 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.1637, allocations: 153.9 kB / 0.6671 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1637, allocations: 33.7 kB / 0.6671 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1637, allocations: 138.8 kB / 0.6672 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.1638, allocations: 39.66 kB / 0.6673 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.1638, allocations: 31.36 kB / 0.6673 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.164, allocations: 0.4962 MB / 0.6678 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.164, allocations: 19.94 kB / 0.6678 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.164, allocations: 22.98 kB / 0.6678 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.971e-05/0.1641, allocations: 63.61 kB / 0.6679 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.1641, allocations: 4 kB / 0.6679 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004411/0.1646, allocations: 109.6 kB / 0.668 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1646, allocations: 4 kB / 0.668 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1646, allocations: 0 / 0.668 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1646, allocations: 0 / 0.668 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.1647, allocations: 27.92 kB / 0.668 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1647, allocations: 4 kB / 0.668 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.1648, allocations: 7.922 kB / 0.668 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1648, allocations: 8 kB / 0.668 GB, free: 10.74 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.266e-05/0.1648, allocations: 160.5 kB / 0.6682 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1649, allocations: 11.95 kB / 0.6682 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1652, allocations: 260.5 kB / 0.6685 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.1652, allocations: 7.984 kB / 0.6685 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1652, allocations: 0 / 0.6685 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1652, allocations: 0 / 0.6685 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1654, allocations: 208.3 kB / 0.6687 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1654, allocations: 4 kB / 0.6687 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.1654, allocations: 19.98 kB / 0.6687 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1654, allocations: 0 / 0.6687 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1654, allocations: 4 kB / 0.6687 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1654, allocations: 0 / 0.6687 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1654, allocations: 0 / 0.6687 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1657, allocations: 344 kB / 0.669 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.1657, allocations: 35.75 kB / 0.669 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1657, allocations: 0 / 0.669 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.1658, allocations: 8 kB / 0.6691 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1658, allocations: 11.97 kB / 0.6691 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1658, allocations: 8 kB / 0.6691 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.1659, allocations: 123.2 kB / 0.6692 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.1659, allocations: 0 / 0.6692 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007172/0.1666, allocations: 307.7 kB / 0.6695 GB, free: 9.184 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.000901/0.1675, allocations: 447 kB / 0.6699 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1677, allocations: 97.78 kB / 0.67 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1677, allocations: 0 / 0.67 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1677, allocations: 83.58 kB / 0.6701 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.168, allocations: 31.91 kB / 0.6701 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.1687, allocations: 286.3 kB / 0.6704 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.1687, allocations: 75.84 kB / 0.6705 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.045e-05/0.1688, allocations: 31.36 kB / 0.6705 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1688, allocations: 28.42 kB / 0.6705 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.1688, allocations: 0 / 0.6705 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of Templates: time 0.2145/0.3833, allocations: 10.31 MB / 0.6806 GB, free: 202.3 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.602964873891324]