Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008176/0.0008176, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001012/0.001012, allocations: 169 kB / 24.06 MB, free: 456 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 1.077/1.077, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.825/0.825, allocations: 154.6 MB / 415.6 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.459e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1254/0.1255, allocations: 128.8 MB / 0.6473 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007269/0.1327, allocations: 7.85 MB / 0.6549 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.1328, allocations: 0 / 0.6549 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1331, allocations: 23.78 kB / 0.655 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.1331, allocations: 23.89 kB / 0.655 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.1376, allocations: 1.483 MB / 0.6564 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1377, allocations: 79.58 kB / 0.6565 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.1377, allocations: 4 kB / 0.6565 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1379, allocations: 55.81 kB / 0.6566 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.1379, allocations: 19.97 kB / 0.6566 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.138, allocations: 4 kB / 0.6566 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.1414, allocations: 2.625 MB / 0.6592 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.1415, allocations: 19.91 kB / 0.6592 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.1415, allocations: 19.98 kB / 0.6592 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.1438, allocations: 1.797 MB / 0.6609 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1439, allocations: 4 kB / 0.6609 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1439, allocations: 4 kB / 0.661 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1439, allocations: 0 / 0.661 GB, free: 2.785 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.0009055/0.1448, allocations: 0.5229 MB / 0.6615 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1448, allocations: 8.031 kB / 0.6615 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.1451, allocations: 52.58 kB / 0.6615 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/0.1452, allocations: 112.6 kB / 0.6616 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.1452, allocations: 55.97 kB / 0.6617 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1452, allocations: 8.375 kB / 0.6617 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1455, allocations: 148.2 kB / 0.6618 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1455, allocations: 0 / 0.6618 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1455, allocations: 4 kB / 0.6618 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1455, allocations: 4 kB / 0.6618 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.1456, allocations: 78.02 kB / 0.6619 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.146, allocations: 304.2 kB / 0.6622 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1461, allocations: 113.6 kB / 0.6623 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.1462, allocations: 39.61 kB / 0.6623 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005599/0.1518, allocations: 2.579 MB / 0.6649 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.1518, allocations: 37.38 kB / 0.6649 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.507e-06/0.1518, allocations: 0 / 0.6649 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000386/0.1522, allocations: 155.8 kB / 0.6651 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1522, allocations: 51.41 kB / 0.6651 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.1523, allocations: 157.9 kB / 0.6653 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1523, allocations: 25.7 kB / 0.6653 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1524, allocations: 142.8 kB / 0.6654 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.1524, allocations: 43.64 kB / 0.6655 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1525, allocations: 35.34 kB / 0.6655 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1526, allocations: 0.4884 MB / 0.666 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.1526, allocations: 11.98 kB / 0.666 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.1527, allocations: 15.98 kB / 0.666 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/0.1527, allocations: 51.61 kB / 0.666 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1527, allocations: 0 / 0.666 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001463/0.1529, allocations: 103.2 kB / 0.6661 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1529, allocations: 4 kB / 0.6661 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1529, allocations: 3.984 kB / 0.6661 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1529, allocations: 4 kB / 0.6661 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.153, allocations: 20 kB / 0.6662 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.153, allocations: 3.984 kB / 0.6662 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.153, allocations: 7.938 kB / 0.6662 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1531, allocations: 4 kB / 0.6662 GB, free: 13.21 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 8.885e-05/0.1531, allocations: 164.5 kB / 0.6663 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1532, allocations: 11.89 kB / 0.6664 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.1535, allocations: 240.4 kB / 0.6666 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.1535, allocations: 7.984 kB / 0.6666 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1535, allocations: 0 / 0.6666 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1535, allocations: 192 / 0.6666 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1537, allocations: 181.1 kB / 0.6668 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1537, allocations: 7.984 kB / 0.6668 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.1537, allocations: 23.92 kB / 0.6668 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1537, allocations: 3.938 kB / 0.6668 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1538, allocations: 4 kB / 0.6668 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1538, allocations: 7.938 kB / 0.6668 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1538, allocations: 0 / 0.6668 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.154, allocations: 316.1 kB / 0.6671 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.1541, allocations: 35.75 kB / 0.6671 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1541, allocations: 3.938 kB / 0.6671 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.1542, allocations: 8 kB / 0.6672 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.1542, allocations: 15.97 kB / 0.6672 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1542, allocations: 7.938 kB / 0.6672 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.1542, allocations: 127.2 kB / 0.6673 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1542, allocations: 0 / 0.6673 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000905/0.1551, allocations: 299.7 kB / 0.6676 GB, free: 11.71 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.001004/0.1562, allocations: 456 kB / 0.668 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1563, allocations: 83.53 kB / 0.6681 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1563, allocations: 0 / 0.6681 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.1564, allocations: 67.64 kB / 0.6682 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1566, allocations: 30.14 kB / 0.6682 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.1573, allocations: 294.2 kB / 0.6685 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.1573, allocations: 79.44 kB / 0.6685 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001/0.1574, allocations: 27.64 kB / 0.6686 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1575, allocations: 106.2 kB / 0.6687 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.1575, allocations: 3.938 kB / 0.6687 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.258/0.4155, allocations: 11.4 MB / 0.6798 GB, free: 67.39 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01743997912854]