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.00114/0.00114, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.00172/0.00172, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9979/0.9979, allocations: 177.1 MB / 204.5 MB, free: 5.125 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.7871/0.7871, allocations: 154.9 MB / 415.9 MB, free: 248 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 2.895e-06/2.895e-06, allocations: 4 kB / 0.5218 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.256e-05, allocations: 3.281 kB / 0.5218 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1165/0.1165, allocations: 128.8 MB / 0.6476 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007091/0.1236, allocations: 7.843 MB / 0.6553 GB, free: 8.586 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1237, allocations: 0 / 0.6553 GB, free: 8.586 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1239, allocations: 31.78 kB / 0.6553 GB, free: 8.555 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.1239, allocations: 15.84 kB / 0.6553 GB, free: 8.539 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.1273, allocations: 1.479 MB / 0.6568 GB, free: 7.055 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1274, allocations: 83.58 kB / 0.6569 GB, free: 6.973 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1274, allocations: 0 / 0.6569 GB, free: 6.973 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1276, allocations: 55.88 kB / 0.6569 GB, free: 6.918 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.1277, allocations: 31.89 kB / 0.657 GB, free: 6.887 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1277, allocations: 4 kB / 0.657 GB, free: 6.883 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.1312, allocations: 2.614 MB / 0.6595 GB, free: 4.266 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1312, allocations: 11.97 kB / 0.6595 GB, free: 4.254 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1313, allocations: 31.91 kB / 0.6595 GB, free: 4.223 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.1339, allocations: 1.797 MB / 0.6613 GB, free: 2.422 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1339, allocations: 0 / 0.6613 GB, free: 2.422 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1339, allocations: 7.938 kB / 0.6613 GB, free: 2.414 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1339, allocations: 0 / 0.6613 GB, free: 2.414 MB / 0.6199 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.001005/0.1349, allocations: 0.5152 MB / 0.6618 GB, free: 1.863 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1349, allocations: 12.03 kB / 0.6618 GB, free: 1.852 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.1352, allocations: 56.56 kB / 0.6619 GB, free: 1.797 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.883e-05/0.1353, allocations: 112.6 kB / 0.662 GB, free: 1.66 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.1354, allocations: 59.91 kB / 0.662 GB, free: 1.59 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1354, allocations: 8.375 kB / 0.6621 GB, free: 1.582 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1356, allocations: 142 kB / 0.6622 GB, free: 1.43 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1356, allocations: 8 kB / 0.6622 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1356, allocations: 0 / 0.6622 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1356, allocations: 0 / 0.6622 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1358, allocations: 83.89 kB / 0.6623 GB, free: 1.34 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1361, allocations: 300.2 kB / 0.6626 GB, free: 1.02 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1363, allocations: 115.1 kB / 0.6627 GB, free: 0.8945 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.1363, allocations: 39.59 kB / 0.6627 GB, free: 0.8516 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005445/0.1418, allocations: 2.575 MB / 0.6652 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1418, allocations: 41.39 kB / 0.6653 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.1418, allocations: 3.938 kB / 0.6653 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000363/0.1422, allocations: 144.5 kB / 0.6654 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1422, allocations: 55.41 kB / 0.6655 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.1423, allocations: 157.9 kB / 0.6656 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1423, allocations: 29.7 kB / 0.6656 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1423, allocations: 130.9 kB / 0.6658 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1423, allocations: 47.59 kB / 0.6658 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1424, allocations: 35.34 kB / 0.6658 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1425, allocations: 0.4884 MB / 0.6663 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.1425, allocations: 15.98 kB / 0.6663 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.1425, allocations: 15.98 kB / 0.6663 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.1426, allocations: 55.61 kB / 0.6664 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1426, allocations: 0 / 0.6664 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001169/0.1427, allocations: 93.61 kB / 0.6665 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1427, allocations: 4 kB / 0.6665 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1427, allocations: 3.938 kB / 0.6665 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.1427, allocations: 0 / 0.6665 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1428, allocations: 23.98 kB / 0.6665 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.1428, allocations: 3.938 kB / 0.6665 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.1429, allocations: 15.89 kB / 0.6665 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1429, allocations: 8 kB / 0.6665 GB, free: 12.84 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.614e-05/0.1429, allocations: 160.6 kB / 0.6667 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.143, allocations: 15.89 kB / 0.6667 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1432, allocations: 240.2 kB / 0.6669 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1432, allocations: 8 kB / 0.667 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1432, allocations: 0 / 0.667 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1432, allocations: 3.984 kB / 0.667 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1434, allocations: 176.8 kB / 0.6671 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1434, allocations: 3.938 kB / 0.6671 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.1435, allocations: 27.98 kB / 0.6672 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1435, allocations: 7.938 kB / 0.6672 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1435, allocations: 0 / 0.6672 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1435, allocations: 0 / 0.6672 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1435, allocations: 0 / 0.6672 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1437, allocations: 316.3 kB / 0.6675 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.1438, allocations: 31.77 kB / 0.6675 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1438, allocations: 15.86 kB / 0.6675 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.1439, allocations: 4 kB / 0.6675 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1439, allocations: 7.984 kB / 0.6675 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1439, allocations: 15.98 kB / 0.6675 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.1439, allocations: 119.2 kB / 0.6676 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1439, allocations: 0 / 0.6676 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006921/0.1446, allocations: 307.7 kB / 0.6679 GB, free: 11.34 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.0009967/0.1456, allocations: 458.9 kB / 0.6684 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1457, allocations: 86.31 kB / 0.6685 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1457, allocations: 0 / 0.6685 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.1458, allocations: 70.12 kB / 0.6685 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.146, allocations: 26.31 kB / 0.6686 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.1466, allocations: 286.2 kB / 0.6688 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.1467, allocations: 79.83 kB / 0.6689 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.1468, allocations: 32.39 kB / 0.6689 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.1469, allocations: 102.2 kB / 0.669 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.1469, allocations: 4 kB / 0.669 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.28/0.4269, allocations: 11.39 MB / 0.6802 GB, free: 66.87 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.905358467716724]