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.001106/0.001106, allocations: 93.06 kB / 19.65 MB, free: 280 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.001135/0.001135, allocations: 169 kB / 23.02 MB, free: 1.555 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.071/1.071, 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.8416/0.8416, allocations: 154.8 MB / 414.7 MB, free: 496 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.714e-06/1.714e-06, allocations: 1.094 kB / 0.5205 GB, free: 1.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.649e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.138/0.138, allocations: 131.3 MB / 0.6487 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007193/0.1452, allocations: 7.956 MB / 0.6565 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.1453, allocations: 0 / 0.6565 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1455, allocations: 15.91 kB / 0.6565 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.1455, allocations: 23.78 kB / 0.6565 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.1485, allocations: 1.479 MB / 0.658 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1486, allocations: 75.62 kB / 0.6581 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1486, allocations: 4 kB / 0.6581 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1488, allocations: 63.75 kB / 0.6581 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.1489, allocations: 23.97 kB / 0.6581 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1489, allocations: 0 / 0.6581 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.152, allocations: 2.622 MB / 0.6607 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.152, allocations: 11.92 kB / 0.6607 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.152, allocations: 27.91 kB / 0.6607 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1538, allocations: 1.805 MB / 0.6625 GB, free: 264 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1539, allocations: 0 / 0.6625 GB, free: 264 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1539, allocations: 0 / 0.6625 GB, free: 264 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1539, allocations: 0 / 0.6625 GB, free: 264 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.001092/0.155, allocations: 0.5229 MB / 0.663 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.155, allocations: 12.03 kB / 0.663 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.1554, allocations: 52.58 kB / 0.6631 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1555, allocations: 104.6 kB / 0.6632 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.1555, allocations: 59.97 kB / 0.6632 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1556, allocations: 8.359 kB / 0.6632 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1559, allocations: 160.2 kB / 0.6634 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1559, allocations: 0 / 0.6634 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1559, allocations: 8 kB / 0.6634 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1559, allocations: 0 / 0.6634 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1561, allocations: 88.61 kB / 0.6635 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1566, allocations: 315.6 kB / 0.6638 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1568, allocations: 127 kB / 0.6639 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1569, allocations: 39.67 kB / 0.6639 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005515/0.1624, allocations: 3.058 MB / 0.6669 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1624, allocations: 33.39 kB / 0.667 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.1624, allocations: 0 / 0.667 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003603/0.1628, allocations: 160.5 kB / 0.6671 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.1628, allocations: 55.41 kB / 0.6672 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1629, allocations: 161.9 kB / 0.6673 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1629, allocations: 25.7 kB / 0.6674 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.163, allocations: 138.8 kB / 0.6675 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.163, allocations: 47.64 kB / 0.6675 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.163, allocations: 31.38 kB / 0.6676 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1631, allocations: 0.4884 MB / 0.668 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.1632, allocations: 19.98 kB / 0.6681 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1632, allocations: 19.98 kB / 0.6681 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.1633, allocations: 63.61 kB / 0.6681 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1633, allocations: 0 / 0.6681 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001341/0.1634, allocations: 112.4 kB / 0.6682 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1634, allocations: 4 kB / 0.6682 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1634, allocations: 0 / 0.6682 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1635, allocations: 8 kB / 0.6683 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.1636, allocations: 19.98 kB / 0.6683 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1636, allocations: 0 / 0.6683 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.1636, allocations: 11.94 kB / 0.6683 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1636, allocations: 192 / 0.6683 GB, free: 10.12 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.271e-05/0.1637, allocations: 168.5 kB / 0.6684 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1637, allocations: 11.95 kB / 0.6685 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.164, allocations: 264.5 kB / 0.6687 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.164, allocations: 3.984 kB / 0.6687 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.164, allocations: 0 / 0.6687 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.164, allocations: 4 kB / 0.6687 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1642, allocations: 204.3 kB / 0.6689 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1642, allocations: 0 / 0.6689 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.1642, allocations: 27.92 kB / 0.6689 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1642, allocations: 4 kB / 0.6689 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1642, allocations: 0 / 0.6689 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1642, allocations: 0 / 0.6689 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1642, allocations: 3.938 kB / 0.6689 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1645, allocations: 344 kB / 0.6693 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1645, allocations: 27.77 kB / 0.6693 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1645, allocations: 8 kB / 0.6693 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.1646, allocations: 7.984 kB / 0.6693 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1646, allocations: 11.98 kB / 0.6693 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1646, allocations: 4 kB / 0.6693 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.1647, allocations: 127.2 kB / 0.6695 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1647, allocations: 0 / 0.6695 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006387/0.1653, allocations: 303.7 kB / 0.6697 GB, free: 8.551 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.001095/0.1664, allocations: 448.2 kB / 0.6702 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1665, allocations: 95.58 kB / 0.6703 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1665, allocations: 0 / 0.6703 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.1666, allocations: 75.59 kB / 0.6703 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1669, allocations: 34.25 kB / 0.6704 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.1675, allocations: 294.3 kB / 0.6706 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.1676, allocations: 75.83 kB / 0.6707 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1676, allocations: 31.27 kB / 0.6707 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1677, allocations: 20.48 kB / 0.6708 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/0.1677, allocations: 0 / 0.6708 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of Templates: time 0.2529/0.4206, allocations: 10.31 MB / 0.6808 GB, free: 64.68 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.820453496649861]