Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009524/0.0009524, allocations: 80.94 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.0009985/0.0009985, allocations: 181 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 0.9458/0.9458, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001589/0.001589, allocations: 253.5 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7802/0.7802, allocations: 138.4 MB / 402.2 MB, free: 0.5078 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 462.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.435e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1153/0.1153, allocations: 130.8 MB / 0.5791 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006763/0.122, allocations: 7.941 MB / 0.5869 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.1221, allocations: 0 / 0.5869 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1223, allocations: 19.91 kB / 0.5869 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.1223, allocations: 23.78 kB / 0.5869 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.1251, allocations: 1.476 MB / 0.5884 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1252, allocations: 79.58 kB / 0.5885 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1252, allocations: 6.734 kB / 0.5885 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1253, allocations: 59.81 kB / 0.5885 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.1254, allocations: 27.91 kB / 0.5885 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1254, allocations: 4 kB / 0.5886 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.1285, allocations: 2.621 MB / 0.5911 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.1285, allocations: 15.98 kB / 0.5911 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1286, allocations: 27.91 kB / 0.5912 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1303, allocations: 1.797 MB / 0.5929 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1303, allocations: 0 / 0.5929 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1303, allocations: 0 / 0.5929 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1303, allocations: 0 / 0.5929 GB, free: 1.676 MB / 0.5417 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.0005842/0.1309, allocations: 410.6 kB / 0.5933 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1309, allocations: 8.75 kB / 0.5933 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.1311, allocations: 60.95 kB / 0.5934 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.1312, allocations: 113.8 kB / 0.5935 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.1312, allocations: 59.91 kB / 0.5935 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1313, allocations: 8.375 kB / 0.5935 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1315, allocations: 152.6 kB / 0.5937 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.1315, allocations: 0 / 0.5937 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1315, allocations: 0 / 0.5937 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1315, allocations: 0 / 0.5937 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1316, allocations: 78.02 kB / 0.5938 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1318, allocations: 213.8 kB / 0.594 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.132, allocations: 98.52 kB / 0.5941 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.132, allocations: 33.47 kB / 0.5941 GB, free: 376 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004857/0.1368, allocations: 2.658 MB / 0.5967 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1369, allocations: 30.56 kB / 0.5967 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1369, allocations: 0 / 0.5967 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0002202/0.1371, allocations: 134.4 kB / 0.5968 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1371, allocations: 55.41 kB / 0.5969 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.1372, allocations: 103.7 kB / 0.597 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1372, allocations: 25.7 kB / 0.597 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.1372, allocations: 92.08 kB / 0.5971 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1372, allocations: 43.62 kB / 0.5971 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1372, allocations: 33.69 kB / 0.5972 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.1373, allocations: 314.8 kB / 0.5975 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.1373, allocations: 20.73 kB / 0.5975 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.1373, allocations: 9.875 kB / 0.5975 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.1374, allocations: 48.81 kB / 0.5976 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1374, allocations: 0 / 0.5976 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.597e-05/0.1375, allocations: 87.41 kB / 0.5976 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1375, allocations: 8 kB / 0.5976 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1375, allocations: 0 / 0.5976 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.1375, allocations: 4 kB / 0.5977 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.1375, allocations: 20.73 kB / 0.5977 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1375, allocations: 0 / 0.5977 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.1376, allocations: 15.89 kB / 0.5977 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1376, allocations: 0 / 0.5977 GB, free: 12.62 MB / 0.5573 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 4.908e-05/0.1376, allocations: 117.8 kB / 0.5978 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1377, allocations: 11.92 kB / 0.5978 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.1378, allocations: 258.1 kB / 0.5981 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1379, allocations: 8 kB / 0.5981 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1379, allocations: 1.375 kB / 0.5981 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1379, allocations: 8.688 kB / 0.5981 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.138, allocations: 138 kB / 0.5982 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.138, allocations: 0 / 0.5982 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.138, allocations: 23.92 kB / 0.5982 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.138, allocations: 4 kB / 0.5982 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.138, allocations: 7.938 kB / 0.5982 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.138, allocations: 0 / 0.5982 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.138, allocations: 0 / 0.5982 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.1382, allocations: 288.5 kB / 0.5985 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.1382, allocations: 35.52 kB / 0.5985 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.1382, allocations: 3.938 kB / 0.5986 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.1383, allocations: 12 kB / 0.5986 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.1383, allocations: 7.984 kB / 0.5986 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1383, allocations: 3.984 kB / 0.5986 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.827e-06/0.1383, allocations: 8.859 kB / 0.5986 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1383, allocations: 0 / 0.5986 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004139/0.1387, allocations: 303.7 kB / 0.5989 GB, free: 11.36 MB / 0.5573 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.0007846/0.1395, allocations: 464.2 kB / 0.5993 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.1396, allocations: 84.64 kB / 0.5994 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1396, allocations: 0 / 0.5994 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.1397, allocations: 60.75 kB / 0.5995 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.1398, allocations: 26.22 kB / 0.5995 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1403, allocations: 295.9 kB / 0.5998 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.1403, allocations: 77.03 kB / 0.5998 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.514e-05/0.1404, allocations: 27.95 kB / 0.5999 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.1405, allocations: 89.23 kB / 0.5999 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.1405, allocations: 0 / 0.5999 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.01036/0.1508, allocations: 11.04 MB / 0.6107 GB, free: 15.29 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.878074375912547]