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.0009711/0.0009711, 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.001013/0.001013, allocations: 177 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.9421/0.9421, 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/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.7591/0.7591, allocations: 154.9 MB / 415.1 MB, free: 256 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 1.393e-06/1.393e-06, allocations: 0.9844 kB / 480.3 MB, free: 6.625 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.514e-05, allocations: 9.75 kB / 480.3 MB, free: 6.617 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1224/0.1224, allocations: 130.8 MB / 0.5968 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1293, allocations: 7.94 MB / 0.6045 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.1293, allocations: 0 / 0.6045 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1295, allocations: 19.89 kB / 0.6045 GB, free: 11.8 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.1295, allocations: 23.8 kB / 0.6046 GB, free: 11.77 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.1332, allocations: 1.467 MB / 0.606 GB, free: 10.3 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1334, allocations: 83.56 kB / 0.6061 GB, free: 10.22 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1334, allocations: 7.938 kB / 0.6061 GB, free: 10.21 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1335, allocations: 63.81 kB / 0.6061 GB, free: 10.15 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1336, allocations: 27.89 kB / 0.6062 GB, free: 10.12 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1336, allocations: 4 kB / 0.6062 GB, free: 10.12 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.1372, allocations: 2.622 MB / 0.6087 GB, free: 7.492 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1372, allocations: 7.984 kB / 0.6087 GB, free: 7.484 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1373, allocations: 27.91 kB / 0.6088 GB, free: 7.457 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.1393, allocations: 1.797 MB / 0.6105 GB, free: 5.656 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1393, allocations: 0 / 0.6105 GB, free: 5.656 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1393, allocations: 0 / 0.6105 GB, free: 5.656 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1393, allocations: 4 kB / 0.6105 GB, free: 5.652 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.0007821/0.1401, allocations: 407.9 kB / 0.6109 GB, free: 5.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1402, allocations: 15.97 kB / 0.6109 GB, free: 5.215 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.1405, allocations: 60.61 kB / 0.611 GB, free: 5.156 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.1406, allocations: 117.7 kB / 0.6111 GB, free: 5.016 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.1406, allocations: 55.97 kB / 0.6112 GB, free: 4.949 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1406, allocations: 8.375 kB / 0.6112 GB, free: 4.941 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1409, allocations: 147.1 kB / 0.6113 GB, free: 4.781 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1409, allocations: 4 kB / 0.6113 GB, free: 4.777 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1409, allocations: 0 / 0.6113 GB, free: 4.777 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1409, allocations: 0 / 0.6113 GB, free: 4.777 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1411, allocations: 78.67 kB / 0.6114 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.1414, allocations: 213.8 kB / 0.6116 GB, free: 4.477 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1415, allocations: 102.5 kB / 0.6117 GB, free: 4.367 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1416, allocations: 28.84 kB / 0.6117 GB, free: 4.336 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006324/0.1479, allocations: 2.664 MB / 0.6143 GB, free: 1.668 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1479, allocations: 34.56 kB / 0.6143 GB, free: 1.625 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1479, allocations: 0 / 0.6143 GB, free: 1.625 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0002929/0.1482, allocations: 129.5 kB / 0.6145 GB, free: 1.492 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1482, allocations: 59.39 kB / 0.6145 GB, free: 1.422 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.1483, allocations: 98.72 kB / 0.6146 GB, free: 1.312 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1483, allocations: 29.7 kB / 0.6147 GB, free: 1.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.1483, allocations: 88.14 kB / 0.6147 GB, free: 1.188 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1484, allocations: 47.56 kB / 0.6148 GB, free: 1.141 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1484, allocations: 33.62 kB / 0.6148 GB, free: 1.102 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.1485, allocations: 310.8 kB / 0.6151 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.1485, allocations: 15.98 kB / 0.6151 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.1485, allocations: 12 kB / 0.6151 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.1486, allocations: 59.23 kB / 0.6152 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1486, allocations: 0 / 0.6152 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001041/0.1487, allocations: 77.61 kB / 0.6153 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1487, allocations: 8 kB / 0.6153 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1487, allocations: 0 / 0.6153 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1487, allocations: 0 / 0.6153 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1488, allocations: 23.92 kB / 0.6153 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1488, allocations: 0 / 0.6153 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.1488, allocations: 11.95 kB / 0.6153 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1488, allocations: 0 / 0.6153 GB, free: 0.5781 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 6.154e-05/0.1489, allocations: 121.8 kB / 0.6154 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1489, allocations: 11.92 kB / 0.6154 GB, free: 448 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1492, allocations: 262.5 kB / 0.6157 GB, free: 180 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1492, allocations: 11.98 kB / 0.6157 GB, free: 168 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1492, allocations: 0 / 0.6157 GB, free: 168 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1492, allocations: 0 / 0.6157 GB, free: 168 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1494, allocations: 134 kB / 0.6158 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1494, allocations: 0 / 0.6158 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.1494, allocations: 24.05 kB / 0.6158 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1494, allocations: 4 kB / 0.6159 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1495, allocations: 11.94 kB / 0.6159 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1495, allocations: 0 / 0.6159 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1495, allocations: 0 / 0.6159 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1497, allocations: 299 kB / 0.6161 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1497, allocations: 27.83 kB / 0.6162 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1497, allocations: 3.938 kB / 0.6162 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.1498, allocations: 8 kB / 0.6162 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.1498, allocations: 7.969 kB / 0.6162 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.1498, allocations: 8 kB / 0.6162 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.121e-05/0.1498, allocations: 8.859 kB / 0.6162 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.1498, allocations: 4 kB / 0.6162 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005944/0.1504, allocations: 307.6 kB / 0.6165 GB, free: 15.3 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.001001/0.1514, allocations: 456 kB / 0.6169 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.1515, allocations: 80.7 kB / 0.617 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1515, allocations: 4 kB / 0.617 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.1516, allocations: 60.75 kB / 0.6171 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1518, allocations: 23.97 kB / 0.6171 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.1524, allocations: 285.3 kB / 0.6174 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.1524, allocations: 83.06 kB / 0.6175 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.438e-05/0.1525, allocations: 35.12 kB / 0.6175 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1526, allocations: 81.31 kB / 0.6176 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.1526, allocations: 0 / 0.6176 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.01406/0.1667, allocations: 11.02 MB / 0.6283 GB, free: 3.172 MB / 0.5886 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.000366678927094]