Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001539/0.001539, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001693/0.001693, allocations: 214.2 kB / 22.99 MB, free: 4.945 MB / 14.72 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8389/0.8389, allocations: 134 MB / 447.2 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 69.94 kB / 0.6197 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 85.9 MB / 0.7036 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002411/0.159, allocations: 1.274 MB / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4596/0.6186, allocations: 120.9 MB / 0.8229 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.6187, allocations: 0 / 0.8229 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.6187, allocations: 0 / 0.8229 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.6187, allocations: 3.938 kB / 0.8229 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.6203, allocations: 467.3 kB / 0.8234 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.6203, allocations: 49.2 kB / 0.8234 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.6204, allocations: 4 kB / 0.8234 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.6204, allocations: 25.33 kB / 0.8234 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.6205, allocations: 19.53 kB / 0.8235 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6205, allocations: 0 / 0.8235 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.622, allocations: 0.8038 MB / 0.8242 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.622, allocations: 6.578 kB / 0.8243 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.6221, allocations: 20.3 kB / 0.8243 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.6227, allocations: 445.1 kB / 0.8247 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6227, allocations: 0 / 0.8247 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6227, allocations: 0 / 0.8247 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.6227, allocations: 0 / 0.8247 GB, free: 2.82 MB / 0.5919 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.0005539/0.6233, allocations: 298.4 kB / 0.825 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6233, allocations: 7.906 kB / 0.825 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.6235, allocations: 17.08 kB / 0.825 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6236, allocations: 108.8 kB / 0.8251 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6236, allocations: 7.312 kB / 0.8251 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.6236, allocations: 7.203 kB / 0.8251 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6238, allocations: 144.7 kB / 0.8253 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6239, allocations: 0 / 0.8253 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6239, allocations: 0 / 0.8253 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6239, allocations: 0 / 0.8253 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.6239, allocations: 18.48 kB / 0.8253 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.6241, allocations: 113 kB / 0.8254 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.6242, allocations: 49.62 kB / 0.8254 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.6242, allocations: 18.78 kB / 0.8255 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.635, allocations: 2.87 MB / 0.8283 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.635, allocations: 38.44 kB / 0.8283 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.635, allocations: 1.312 kB / 0.8283 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04389/0.6789, allocations: 14.93 MB / 0.8429 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.6789, allocations: 51.41 kB / 0.8429 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.679, allocations: 93.86 kB / 0.843 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.6791, allocations: 25.7 kB / 0.843 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.6791, allocations: 84.14 kB / 0.8431 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.6792, allocations: 55.5 kB / 0.8432 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.6792, allocations: 25.72 kB / 0.8432 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6794, allocations: 322.8 kB / 0.8435 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.6794, allocations: 19.98 kB / 0.8435 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.6795, allocations: 24 kB / 0.8435 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.6796, allocations: 72.91 kB / 0.8436 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6796, allocations: 0 / 0.8436 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002324/0.6799, allocations: 105.4 kB / 0.8437 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6799, allocations: 4 kB / 0.8437 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6799, allocations: 4 kB / 0.8437 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6799, allocations: 0 / 0.8437 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.68, allocations: 24 kB / 0.8437 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.68, allocations: 3.984 kB / 0.8437 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.6801, allocations: 0 / 0.8437 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6801, allocations: 4 kB / 0.8437 GB, free: 2.906 MB / 0.6075 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 0.0001061/0.6802, allocations: 125.7 kB / 0.8439 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.6802, allocations: 7.953 kB / 0.8439 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.6805, allocations: 121.4 kB / 0.844 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.6805, allocations: 4 kB / 0.844 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6805, allocations: 0 / 0.844 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6805, allocations: 0 / 0.844 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.6806, allocations: 113.3 kB / 0.8441 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6806, allocations: 11.94 kB / 0.8441 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6808, allocations: 31.92 kB / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6808, allocations: 0 / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6808, allocations: 0 / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6808, allocations: 0 / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6808, allocations: 0 / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.6811, allocations: 161 kB / 0.8443 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.6812, allocations: 19.92 kB / 0.8443 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.6812, allocations: 0 / 0.8443 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6813, allocations: 16.73 kB / 0.8443 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.6813, allocations: 15.92 kB / 0.8444 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6813, allocations: 4 kB / 0.8444 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.6814, allocations: 75.28 kB / 0.8444 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6814, allocations: 0 / 0.8444 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001747/0.6831, allocations: 0.5699 MB / 0.845 GB, free: 1.574 MB / 0.6075 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.003366/0.6865, allocations: 358.6 kB / 0.8453 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.6868, allocations: 63.92 kB / 0.8454 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6868, allocations: 4 kB / 0.8454 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6869, allocations: 27.92 kB / 0.8454 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6871, allocations: 19.94 kB / 0.8454 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.688, allocations: 382.2 kB / 0.8458 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.001e-05/0.6881, allocations: 67.34 kB / 0.8459 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.6882, allocations: 15.44 kB / 0.8459 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.6882, allocations: 0 / 0.8459 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of Templates: time 0.02538/0.7136, allocations: 14.41 MB / 0.8599 GB, free: 2.23 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.863280907738954] Failed to read output from testmodel.py, exit status != 0: 0.7212133682332933 0.737173136 0.111355017 Calling exit ...