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.0009941/0.0009941, 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.00102/0.00102, allocations: 173 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.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7868/0.7868, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.403e-06/1.403e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.438e-05, allocations: 3.297 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1238/0.1238, allocations: 130.8 MB / 0.5965 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007726/0.1315, allocations: 7.928 MB / 0.6042 GB, free: 12.07 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.1316, allocations: 0 / 0.6042 GB, free: 12.07 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1318, allocations: 23.84 kB / 0.6043 GB, free: 12.05 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.1319, allocations: 19.83 kB / 0.6043 GB, free: 12.03 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.1351, allocations: 1.311 MB / 0.6056 GB, free: 10.71 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1352, allocations: 79.58 kB / 0.6056 GB, free: 10.64 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1352, allocations: 7.938 kB / 0.6057 GB, free: 10.63 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1353, allocations: 55.88 kB / 0.6057 GB, free: 10.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.1354, allocations: 31.89 kB / 0.6057 GB, free: 10.54 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1354, allocations: 4 kB / 0.6057 GB, free: 10.54 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.1396, allocations: 2.785 MB / 0.6085 GB, free: 7.75 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.1397, allocations: 11.98 kB / 0.6085 GB, free: 7.738 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1397, allocations: 31.91 kB / 0.6085 GB, free: 7.707 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1415, allocations: 1.793 MB / 0.6103 GB, free: 5.91 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1415, allocations: 0 / 0.6103 GB, free: 5.91 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1415, allocations: 0 / 0.6103 GB, free: 5.91 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1415, allocations: 0 / 0.6103 GB, free: 5.91 MB / 0.573 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.0005777/0.1421, allocations: 411.9 kB / 0.6106 GB, free: 5.484 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1422, allocations: 12.03 kB / 0.6107 GB, free: 5.473 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.1424, allocations: 52.61 kB / 0.6107 GB, free: 5.422 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.616e-05/0.1425, allocations: 117.7 kB / 0.6108 GB, free: 5.281 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.1425, allocations: 55.97 kB / 0.6109 GB, free: 5.215 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1425, allocations: 12.36 kB / 0.6109 GB, free: 5.203 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1428, allocations: 153.2 kB / 0.611 GB, free: 5.039 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1428, allocations: 0 / 0.611 GB, free: 5.039 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1428, allocations: 8 kB / 0.611 GB, free: 5.031 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1428, allocations: 4 kB / 0.611 GB, free: 5.027 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1429, allocations: 75.91 kB / 0.6111 GB, free: 4.953 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.1432, allocations: 213.8 kB / 0.6113 GB, free: 4.727 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1433, allocations: 94.52 kB / 0.6114 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.1433, allocations: 32.84 kB / 0.6114 GB, free: 4.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004826/0.1482, allocations: 2.662 MB / 0.614 GB, free: 1.926 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1482, allocations: 38.5 kB / 0.6141 GB, free: 1.879 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.1482, allocations: 0 / 0.6141 GB, free: 1.879 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0002417/0.1484, allocations: 129.5 kB / 0.6142 GB, free: 1.746 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1485, allocations: 51.41 kB / 0.6142 GB, free: 1.684 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.1485, allocations: 114.7 kB / 0.6144 GB, free: 1.559 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1485, allocations: 25.7 kB / 0.6144 GB, free: 1.527 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1485, allocations: 80.14 kB / 0.6145 GB, free: 1.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.1486, allocations: 51.56 kB / 0.6145 GB, free: 1.395 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1486, allocations: 33.69 kB / 0.6145 GB, free: 1.355 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.1487, allocations: 310.8 kB / 0.6148 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.149, allocations: 15.98 kB / 0.6149 GB, free: 1.027 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.149, allocations: 11.25 kB / 0.6149 GB, free: 1.02 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.1491, allocations: 52.75 kB / 0.6149 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1491, allocations: 0 / 0.6149 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.363e-05/0.1491, allocations: 81.61 kB / 0.615 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1492, allocations: 7.984 kB / 0.615 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1492, allocations: 0 / 0.615 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1492, allocations: 4 kB / 0.615 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.1492, allocations: 27.86 kB / 0.615 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.1492, allocations: 0 / 0.615 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.1493, allocations: 7.953 kB / 0.615 GB, free: 0.832 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1493, allocations: 4 kB / 0.615 GB, free: 0.8281 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.285e-05/0.1493, allocations: 121.8 kB / 0.6152 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1494, allocations: 11.92 kB / 0.6152 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1496, allocations: 258.5 kB / 0.6154 GB, free: 440 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1496, allocations: 4 kB / 0.6154 GB, free: 436 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1496, allocations: 3.938 kB / 0.6154 GB, free: 432 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1496, allocations: 3.984 kB / 0.6154 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1497, allocations: 138 kB / 0.6156 GB, free: 272 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1497, allocations: 0 / 0.6156 GB, free: 272 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.1497, allocations: 23.98 kB / 0.6156 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1497, allocations: 0 / 0.6156 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1498, allocations: 7.938 kB / 0.6156 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1498, allocations: 8 kB / 0.6156 GB, free: 232 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1498, allocations: 4 kB / 0.6156 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1499, allocations: 291.1 kB / 0.6159 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.15, allocations: 27.83 kB / 0.6159 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.15, allocations: 8.125 kB / 0.6159 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.15, allocations: 4 kB / 0.6159 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.15, allocations: 15.95 kB / 0.6159 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1501, allocations: 0 / 0.6159 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.955e-06/0.1501, allocations: 8.859 kB / 0.6159 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.1501, allocations: 0 / 0.6159 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004331/0.1505, allocations: 311.6 kB / 0.6162 GB, free: 15.55 MB / 0.5886 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.000845/0.1513, allocations: 467.1 kB / 0.6167 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.1514, allocations: 72.66 kB / 0.6167 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1514, allocations: 4 kB / 0.6168 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.1515, allocations: 67.42 kB / 0.6168 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1517, allocations: 23.97 kB / 0.6168 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1522, allocations: 283.5 kB / 0.6171 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.1522, allocations: 76.55 kB / 0.6172 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.889e-05/0.1523, allocations: 32.45 kB / 0.6172 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.1524, allocations: 81.31 kB / 0.6173 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.1524, allocations: 0 / 0.6173 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of Templates: time 0.01117/0.1635, allocations: 11.01 MB / 0.628 GB, free: 3.426 MB / 0.5886 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.017900582868606]