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.001002/0.001002, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001983/0.001983, allocations: 177 kB / 23.36 MB, free: 1.129 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7873/0.7873, allocations: 154.9 MB / 415.1 MB, free: 236 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.452e-06/1.452e-06, allocations: 0 / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.314e-05, allocations: 2.312 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1397/0.1397, allocations: 130.8 MB / 0.5969 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006545/0.1462, allocations: 7.944 MB / 0.6046 GB, free: 11.68 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1463, allocations: 4 kB / 0.6046 GB, free: 11.68 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1465, allocations: 19.91 kB / 0.6046 GB, free: 11.66 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.1465, allocations: 15.8 kB / 0.6046 GB, free: 11.64 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1486, allocations: 1.319 MB / 0.6059 GB, free: 10.32 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.1487, allocations: 79.62 kB / 0.606 GB, free: 10.24 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.1488, allocations: 7.938 kB / 0.606 GB, free: 10.23 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1489, allocations: 55.81 kB / 0.6061 GB, free: 10.18 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.149, allocations: 31.89 kB / 0.6061 GB, free: 10.14 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.149, allocations: 4 kB / 0.6061 GB, free: 10.14 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.1519, allocations: 2.774 MB / 0.6088 GB, free: 7.363 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.1519, allocations: 23.91 kB / 0.6088 GB, free: 7.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1519, allocations: 23.97 kB / 0.6089 GB, free: 7.316 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.1533, allocations: 1.797 MB / 0.6106 GB, free: 5.516 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1533, allocations: 7.922 kB / 0.6106 GB, free: 5.508 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1533, allocations: 0 / 0.6106 GB, free: 5.508 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1533, allocations: 0 / 0.6106 GB, free: 5.508 MB / 0.573 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.0006121/0.1539, allocations: 407.9 kB / 0.611 GB, free: 5.086 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.154, allocations: 8.031 kB / 0.611 GB, free: 5.078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1543, allocations: 56.61 kB / 0.6111 GB, free: 5.023 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.1543, allocations: 117.7 kB / 0.6112 GB, free: 4.883 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.1544, allocations: 51.97 kB / 0.6112 GB, free: 4.82 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1544, allocations: 16.38 kB / 0.6113 GB, free: 4.805 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1546, allocations: 143.1 kB / 0.6114 GB, free: 4.648 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1546, allocations: 3.938 kB / 0.6114 GB, free: 4.645 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1546, allocations: 4 kB / 0.6114 GB, free: 4.641 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1546, allocations: 0 / 0.6114 GB, free: 4.641 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1548, allocations: 75.91 kB / 0.6115 GB, free: 4.566 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.155, allocations: 213.8 kB / 0.6117 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1551, allocations: 98.52 kB / 0.6118 GB, free: 4.234 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.1552, allocations: 36.78 kB / 0.6118 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005021/0.1602, allocations: 2.662 MB / 0.6144 GB, free: 1.531 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1602, allocations: 30.56 kB / 0.6144 GB, free: 1.492 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.1602, allocations: 0 / 0.6144 GB, free: 1.492 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0002463/0.1605, allocations: 129.5 kB / 0.6146 GB, free: 1.359 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.1605, allocations: 59.34 kB / 0.6146 GB, free: 1.289 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.1605, allocations: 114.6 kB / 0.6147 GB, free: 1.164 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1606, allocations: 25.7 kB / 0.6147 GB, free: 1.133 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.1606, allocations: 88.14 kB / 0.6148 GB, free: 1.043 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1606, allocations: 47.56 kB / 0.6149 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1607, allocations: 29.7 kB / 0.6149 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.1607, allocations: 318.8 kB / 0.6152 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.1608, allocations: 12 kB / 0.6152 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.1608, allocations: 15.11 kB / 0.6152 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.1608, allocations: 44.83 kB / 0.6153 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1608, allocations: 0 / 0.6153 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.661e-05/0.1609, allocations: 77.61 kB / 0.6153 GB, free: 500 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1609, allocations: 8 kB / 0.6154 GB, free: 492 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1609, allocations: 3.938 kB / 0.6154 GB, free: 488 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.1609, allocations: 4 kB / 0.6154 GB, free: 484 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.161, allocations: 19.98 kB / 0.6154 GB, free: 464 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.161, allocations: 4 kB / 0.6154 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.161, allocations: 7.953 kB / 0.6154 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.161, allocations: 3.984 kB / 0.6154 GB, free: 448 kB / 0.573 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 6.591e-05/0.1611, allocations: 121.8 kB / 0.6155 GB, free: 316 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1611, allocations: 11.94 kB / 0.6155 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1614, allocations: 265.2 kB / 0.6158 GB, free: 36 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1614, allocations: 3.984 kB / 0.6158 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1614, allocations: 4 kB / 0.6158 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1614, allocations: 0 / 0.6158 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1615, allocations: 138 kB / 0.6159 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1615, allocations: 4 kB / 0.6159 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.1616, allocations: 19.98 kB / 0.6159 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1616, allocations: 0 / 0.6159 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1616, allocations: 11.92 kB / 0.616 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1616, allocations: 4 kB / 0.616 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1616, allocations: 4 kB / 0.616 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1618, allocations: 295 kB / 0.6162 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1618, allocations: 27.81 kB / 0.6163 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1618, allocations: 11.94 kB / 0.6163 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.1619, allocations: 4 kB / 0.6163 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1619, allocations: 11.92 kB / 0.6163 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1619, allocations: 7.984 kB / 0.6163 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.548e-06/0.1619, allocations: 8.859 kB / 0.6163 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.1619, allocations: 0 / 0.6163 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005072/0.1624, allocations: 307.6 kB / 0.6166 GB, free: 15.15 MB / 0.5886 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.0008924/0.1633, allocations: 464 kB / 0.617 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1634, allocations: 72.77 kB / 0.6171 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1634, allocations: 0 / 0.6171 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.1635, allocations: 64.75 kB / 0.6172 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.1636, allocations: 19.97 kB / 0.6172 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.1642, allocations: 297.2 kB / 0.6175 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.1642, allocations: 75.08 kB / 0.6176 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.1643, allocations: 25.89 kB / 0.6176 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.1644, allocations: 81.31 kB / 0.6177 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.1644, allocations: 0 / 0.6177 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of Templates: time 0.0105/0.1749, allocations: 11.01 MB / 0.6284 GB, free: 3.043 MB / 0.5886 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.077189411967993]