Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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.0009175/0.0009175, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009983/0.0009983, allocations: 181 kB / 23.36 MB, free: 1.133 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.9753/0.9753, 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.7873/0.7873, allocations: 154.9 MB / 415.1 MB, free: 240 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.048e-05, allocations: 4.844 kB / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001572/0.001593, allocations: 1.297 MB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1259/0.1274, allocations: 132.8 MB / 0.6001 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1275, allocations: 0 / 0.6001 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1275, allocations: 7.922 kB / 0.6001 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1276, allocations: 7.938 kB / 0.6001 GB, free: 348 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1287, allocations: 470.1 kB / 0.6005 GB, free: 15.88 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.1288, allocations: 39.84 kB / 0.6006 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.1288, allocations: 3.984 kB / 0.6006 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1289, allocations: 31.86 kB / 0.6006 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.129, allocations: 23.95 kB / 0.6006 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.129, allocations: 0 / 0.6006 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.13, allocations: 0.7996 MB / 0.6014 GB, free: 14.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.1301, allocations: 7.984 kB / 0.6014 GB, free: 14.97 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.1301, allocations: 15.92 kB / 0.6014 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.1306, allocations: 0.5536 MB / 0.602 GB, free: 14.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1307, allocations: 0 / 0.602 GB, free: 14.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1307, allocations: 0 / 0.602 GB, free: 14.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1307, allocations: 4 kB / 0.602 GB, free: 14.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003611/0.131, allocations: 275.5 kB / 0.6022 GB, free: 14.11 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1311, allocations: 12.03 kB / 0.6022 GB, free: 14.1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1312, allocations: 32.67 kB / 0.6023 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.035e-05/0.1313, allocations: 109.8 kB / 0.6024 GB, free: 13.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1313, allocations: 8.375 kB / 0.6024 GB, free: 13.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1313, allocations: 12.66 kB / 0.6024 GB, free: 13.91 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1314, allocations: 123.3 kB / 0.6025 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1314, allocations: 3.938 kB / 0.6025 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.1314, allocations: 0 / 0.6025 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1314, allocations: 8 kB / 0.6025 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.1314, allocations: 19.98 kB / 0.6025 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.354e-05/0.1315, allocations: 61.05 kB / 0.6026 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.1316, allocations: 46.56 kB / 0.6027 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1316, allocations: 12.86 kB / 0.6027 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004499/0.1361, allocations: 2.447 MB / 0.6051 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1361, allocations: 34.56 kB / 0.6051 GB, free: 11.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1361, allocations: 0 / 0.6051 GB, free: 11.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.01387/0.15, allocations: 6.344 MB / 0.6113 GB, free: 4.633 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.15, allocations: 55.41 kB / 0.6113 GB, free: 4.566 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.1504, allocations: 98.72 kB / 0.6114 GB, free: 4.457 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1504, allocations: 29.7 kB / 0.6115 GB, free: 4.422 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.1504, allocations: 84.14 kB / 0.6115 GB, free: 4.336 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1504, allocations: 43.61 kB / 0.6116 GB, free: 4.293 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1505, allocations: 29.7 kB / 0.6116 GB, free: 4.258 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.1505, allocations: 318.8 kB / 0.6119 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.1505, allocations: 8 kB / 0.6119 GB, free: 3.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.1506, allocations: 15.92 kB / 0.6119 GB, free: 3.914 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.1506, allocations: 36.83 kB / 0.612 GB, free: 3.875 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1506, allocations: 0 / 0.612 GB, free: 3.875 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001075/0.1507, allocations: 80.16 kB / 0.612 GB, free: 3.793 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1507, allocations: 8.125 kB / 0.6121 GB, free: 3.785 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1508, allocations: 7.938 kB / 0.6121 GB, free: 3.777 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1508, allocations: 0 / 0.6121 GB, free: 3.777 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.1508, allocations: 23.94 kB / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1508, allocations: 7.984 kB / 0.6121 GB, free: 3.746 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.1508, allocations: 0 / 0.6121 GB, free: 3.746 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1509, allocations: 0 / 0.6121 GB, free: 3.746 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 (14): * Single equations (assignments): 14 * 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.832e-05/0.1509, allocations: 113.8 kB / 0.6122 GB, free: 3.625 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1509, allocations: 23.83 kB / 0.6122 GB, free: 3.602 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.1511, allocations: 109.3 kB / 0.6123 GB, free: 3.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1511, allocations: 3.984 kB / 0.6123 GB, free: 3.477 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1511, allocations: 0 / 0.6123 GB, free: 3.477 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1511, allocations: 4 kB / 0.6123 GB, free: 3.473 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.1512, allocations: 69.89 kB / 0.6124 GB, free: 3.387 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1512, allocations: 4 kB / 0.6124 GB, free: 3.383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.1512, allocations: 23.98 kB / 0.6124 GB, free: 3.359 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1512, allocations: 0 / 0.6124 GB, free: 3.359 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.1512, allocations: 8 kB / 0.6124 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1512, allocations: 0 / 0.6124 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1513, allocations: 3.938 kB / 0.6124 GB, free: 3.348 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1514, allocations: 120.9 kB / 0.6126 GB, free: 3.211 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1514, allocations: 11.94 kB / 0.6126 GB, free: 3.199 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1514, allocations: 4 kB / 0.6126 GB, free: 3.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.1515, allocations: 8 kB / 0.6126 GB, free: 3.188 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1515, allocations: 11.92 kB / 0.6126 GB, free: 3.176 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.1515, allocations: 4 kB / 0.6126 GB, free: 3.172 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.899e-06/0.1515, allocations: 12.86 kB / 0.6126 GB, free: 3.156 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1515, allocations: 0 / 0.6126 GB, free: 3.156 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001244/0.1528, allocations: 0.5582 MB / 0.6132 GB, free: 2.598 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001915/0.1547, allocations: 385 kB / 0.6135 GB, free: 2.215 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.1548, allocations: 52.72 kB / 0.6136 GB, free: 2.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1548, allocations: 0 / 0.6136 GB, free: 2.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.1548, allocations: 32.78 kB / 0.6136 GB, free: 2.125 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.1549, allocations: 27.03 kB / 0.6136 GB, free: 2.102 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.1554, allocations: 247.1 kB / 0.6139 GB, free: 1.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.1554, allocations: 63.34 kB / 0.6139 GB, free: 1.758 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1555, allocations: 24.61 kB / 0.6139 GB, free: 1.734 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.1556, allocations: 75.36 kB / 0.614 GB, free: 1.66 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/0.1556, allocations: 0 / 0.614 GB, free: 1.66 MB / 0.573 GB Notification: Performance of Templates: time 0.03074/0.1863, allocations: 25.83 MB / 0.6392 GB, free: 7.898 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.306378853973001]