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.0009642/0.0009642, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0009268/0.0009268, allocations: 173 kB / 23.28 MB, free: 1.219 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.03/1.03, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7953/0.7953, allocations: 154.9 MB / 415.1 MB, free: 228 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.683e-06/1.683e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.914e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1281/0.1281, allocations: 128.8 MB / 0.6469 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007181/0.1353, allocations: 7.858 MB / 0.6545 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.1354, allocations: 0 / 0.6545 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1356, allocations: 15.92 kB / 0.6546 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.1356, allocations: 27.77 kB / 0.6546 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.1393, allocations: 1.479 MB / 0.656 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1394, allocations: 71.66 kB / 0.6561 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1395, allocations: 7.984 kB / 0.6561 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1397, allocations: 55.81 kB / 0.6562 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.1398, allocations: 23.91 kB / 0.6562 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1398, allocations: 4 kB / 0.6562 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.1435, allocations: 2.625 MB / 0.6587 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1436, allocations: 15.92 kB / 0.6588 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1436, allocations: 19.98 kB / 0.6588 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.1467, allocations: 1.801 MB / 0.6605 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1467, allocations: 0 / 0.6605 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1467, allocations: 4 kB / 0.6605 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1467, allocations: 0 / 0.6605 GB, free: 2.383 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.001075/0.1478, allocations: 0.5229 MB / 0.6611 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1478, allocations: 8.031 kB / 0.6611 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.1481, allocations: 56.56 kB / 0.6611 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.1482, allocations: 112.6 kB / 0.6612 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.1483, allocations: 55.97 kB / 0.6613 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1483, allocations: 8.375 kB / 0.6613 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1485, allocations: 144.2 kB / 0.6614 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1485, allocations: 0 / 0.6614 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1485, allocations: 7.984 kB / 0.6614 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1485, allocations: 4 kB / 0.6614 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1487, allocations: 75.91 kB / 0.6615 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.149, allocations: 300.2 kB / 0.6618 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1491, allocations: 122.2 kB / 0.6619 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.1492, allocations: 43.59 kB / 0.6619 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004952/0.1541, allocations: 2.587 MB / 0.6645 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1542, allocations: 33.39 kB / 0.6645 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.1542, allocations: 0 / 0.6645 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003311/0.1545, allocations: 153.4 kB / 0.6647 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1545, allocations: 51.41 kB / 0.6647 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.1546, allocations: 165.9 kB / 0.6649 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1546, allocations: 29.7 kB / 0.6649 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.1546, allocations: 130.9 kB / 0.665 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1547, allocations: 47.58 kB / 0.6651 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1547, allocations: 35.34 kB / 0.6651 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1548, allocations: 496.1 kB / 0.6656 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.1549, allocations: 11.98 kB / 0.6656 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.1549, allocations: 18.86 kB / 0.6656 GB, free: 13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.1549, allocations: 51.66 kB / 0.6656 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1549, allocations: 0 / 0.6656 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001204/0.1551, allocations: 105.5 kB / 0.6657 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1551, allocations: 6.031 kB / 0.6657 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1551, allocations: 0 / 0.6657 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1551, allocations: 4 kB / 0.6658 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.1552, allocations: 19.98 kB / 0.6658 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1552, allocations: 0 / 0.6658 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.1552, allocations: 15.89 kB / 0.6658 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1552, allocations: 0 / 0.6658 GB, free: 12.8 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 0.0002596/0.1555, allocations: 168.5 kB / 0.6659 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.1555, allocations: 11.89 kB / 0.666 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1558, allocations: 247.6 kB / 0.6662 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.1558, allocations: 8 kB / 0.6662 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1558, allocations: 0 / 0.6662 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1558, allocations: 3.984 kB / 0.6662 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1559, allocations: 172.8 kB / 0.6664 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.156, allocations: 0 / 0.6664 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.156, allocations: 27.98 kB / 0.6664 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.156, allocations: 3.938 kB / 0.6664 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.156, allocations: 3.938 kB / 0.6664 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.156, allocations: 4 kB / 0.6664 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.156, allocations: 0 / 0.6664 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1563, allocations: 326.3 kB / 0.6667 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.1563, allocations: 27.77 kB / 0.6667 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1563, allocations: 7.938 kB / 0.6668 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.1564, allocations: 7.984 kB / 0.6668 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.1564, allocations: 7.984 kB / 0.6668 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1564, allocations: 16.12 kB / 0.6668 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.1564, allocations: 131.2 kB / 0.6669 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.1564, allocations: 0 / 0.6669 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007415/0.1572, allocations: 299.7 kB / 0.6672 GB, free: 11.29 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.0009785/0.1582, allocations: 456.8 kB / 0.6676 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1583, allocations: 82.27 kB / 0.6677 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1583, allocations: 0 / 0.6677 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.1583, allocations: 71.58 kB / 0.6678 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1586, allocations: 23.98 kB / 0.6678 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.1591, allocations: 294.2 kB / 0.6681 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.1592, allocations: 79.83 kB / 0.6682 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.387e-05/0.1592, allocations: 24.41 kB / 0.6682 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.1593, allocations: 110.2 kB / 0.6683 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.1593, allocations: 0 / 0.6683 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.2692/0.4285, allocations: 11.38 MB / 0.6794 GB, free: 66.98 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.35936253098771]