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.001164/0.001164, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002002/0.003166, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000792/0.000792, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.001972, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09158/1.103, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.74/0.74, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2643/1.004, allocations: 49.05 MB / 447.8 MB, free: 6.613 MB / 426.7 MB " [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.342e-06/1.342e-06, allocations: 0 / 449.1 MB, free: 5.332 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.83e-05, allocations: 3.094 kB / 449.1 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1167/0.1167, allocations: 131.2 MB / 0.5667 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008094/0.1248, allocations: 7.969 MB / 0.5745 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1249, allocations: 0 / 0.5745 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.125, allocations: 23.84 kB / 0.5745 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.125, allocations: 19.78 kB / 0.5746 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.1278, allocations: 1.311 MB / 0.5758 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1279, allocations: 83.58 kB / 0.5759 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.128, allocations: 7.938 kB / 0.5759 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1281, allocations: 55.88 kB / 0.576 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.1282, allocations: 35.89 kB / 0.576 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1282, allocations: 4 kB / 0.576 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/0.1324, allocations: 2.785 MB / 0.5787 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.1324, allocations: 11.94 kB / 0.5788 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1324, allocations: 12 kB / 0.5788 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.1342, allocations: 1.322 MB / 0.5801 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.1342, allocations: 0 / 0.5801 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.604e-06/0.1342, allocations: 4 kB / 0.5801 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.1342, allocations: 0 / 0.5801 GB, free: 4.434 MB / 0.5573 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.0008207/0.1351, allocations: 0.5651 MB / 0.5806 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1351, allocations: 8.031 kB / 0.5806 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.1354, allocations: 56.61 kB / 0.5807 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.521e-05/0.1355, allocations: 109.7 kB / 0.5808 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.1356, allocations: 63.95 kB / 0.5808 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1356, allocations: 8.312 kB / 0.5808 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1358, allocations: 147.2 kB / 0.581 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1358, allocations: 0 / 0.581 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1358, allocations: 0 / 0.581 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1358, allocations: 7.984 kB / 0.581 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.136, allocations: 79.91 kB / 0.5811 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.1363, allocations: 217.8 kB / 0.5813 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1365, allocations: 101.1 kB / 0.5814 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.1365, allocations: 24.84 kB / 0.5814 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006192/0.1427, allocations: 2.666 MB / 0.584 GB, free: 280 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1427, allocations: 30.56 kB / 0.584 GB, free: 240 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1427, allocations: 0 / 0.584 GB, free: 240 kB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003076/0.143, allocations: 122.9 kB / 0.5841 GB, free: 112 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.143, allocations: 59.41 kB / 0.5842 GB, free: 40 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.1431, allocations: 106.7 kB / 0.5843 GB, free: 15.92 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1431, allocations: 33.64 kB / 0.5843 GB, free: 15.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.1432, allocations: 90.84 kB / 0.5844 GB, free: 15.79 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1432, allocations: 47.56 kB / 0.5845 GB, free: 15.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1432, allocations: 21.72 kB / 0.5845 GB, free: 15.72 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.1433, allocations: 318.8 kB / 0.5848 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.1433, allocations: 12 kB / 0.5848 GB, free: 15.39 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.1434, allocations: 11.98 kB / 0.5848 GB, free: 15.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1434, allocations: 59.31 kB / 0.5849 GB, free: 15.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1434, allocations: 0 / 0.5849 GB, free: 15.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001117/0.1435, allocations: 77.55 kB / 0.5849 GB, free: 15.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1435, allocations: 8 kB / 0.585 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1436, allocations: 0 / 0.585 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1436, allocations: 0 / 0.585 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.1437, allocations: 31.97 kB / 0.585 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1437, allocations: 0 / 0.585 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.1437, allocations: 11.89 kB / 0.585 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1437, allocations: 0 / 0.585 GB, free: 15.18 MB / 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 5.773e-05/0.1438, allocations: 117.8 kB / 0.5851 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1438, allocations: 15.92 kB / 0.5851 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.144, allocations: 262.5 kB / 0.5854 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1441, allocations: 8 kB / 0.5854 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.1441, allocations: 0 / 0.5854 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1441, allocations: 3.984 kB / 0.5854 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1442, allocations: 138 kB / 0.5855 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1442, allocations: 0 / 0.5855 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.1443, allocations: 27.92 kB / 0.5855 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.1443, allocations: 35.7 kB / 0.5856 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1443, allocations: 0 / 0.5856 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1443, allocations: 0 / 0.5856 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1443, allocations: 8 kB / 0.5856 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1443, allocations: 0 / 0.5856 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1445, allocations: 283.5 kB / 0.5859 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1446, allocations: 11.94 kB / 0.5859 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.1446, allocations: 3.984 kB / 0.5859 GB, free: 14.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1446, allocations: 7.984 kB / 0.5859 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1447, allocations: 8 kB / 0.5859 GB, free: 14.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.22e-05/0.1447, allocations: 12.8 kB / 0.5859 GB, free: 14.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.1447, allocations: 0 / 0.5859 GB, free: 14.21 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005995/0.1453, allocations: 307.6 kB / 0.5862 GB, free: 13.91 MB / 0.573 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.00102/0.1463, allocations: 464 kB / 0.5866 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1464, allocations: 83.08 kB / 0.5867 GB, free: 13.37 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1464, allocations: 4 kB / 0.5867 GB, free: 13.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1465, allocations: 66.16 kB / 0.5868 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1468, allocations: 95.36 kB / 0.5869 GB, free: 13.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1484, allocations: 299.3 kB / 0.5872 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.1484, allocations: 75.84 kB / 0.5872 GB, free: 12.78 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.884e-05/0.1485, allocations: 27.53 kB / 0.5873 GB, free: 12.76 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1486, allocations: 85.31 kB / 0.5873 GB, free: 12.67 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/0.1486, allocations: 0 / 0.5873 GB, free: 12.67 MB / 0.573 GB Notification: Performance of Templates: time 0.01394/0.1626, allocations: 11.12 MB / 0.5982 GB, free: 1.574 MB / 0.573 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: 3.8380453512072563]