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.001411/0.001411, allocations: 73.72 kB / 19.76 MB, free: 2.012 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.001601/0.001601, allocations: 158.2 kB / 23.01 MB, free: 4.965 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.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.8706/0.8706, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 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.002153/0.002153, allocations: 70.64 kB / 0.5356 GB, free: 5.551 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1826, allocations: 85.88 MB / 0.6195 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00291/0.1855, allocations: 1.277 MB / 0.6207 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5088/0.6943, allocations: 120.9 MB / 0.7388 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.6943, allocations: 0 / 0.7388 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.6944, allocations: 5.219 kB / 0.7388 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.6944, allocations: 3.938 kB / 0.7388 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.6959, allocations: 471.3 kB / 0.7393 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.696, allocations: 39.73 kB / 0.7393 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.696, allocations: 7.188 kB / 0.7393 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.6961, allocations: 32.03 kB / 0.7393 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.6962, allocations: 17.75 kB / 0.7394 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.6962, allocations: 2.188 kB / 0.7394 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.6977, allocations: 0.8002 MB / 0.7401 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.6977, allocations: 10.73 kB / 0.7402 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.6977, allocations: 16.2 kB / 0.7402 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.6983, allocations: 447.8 kB / 0.7406 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6983, allocations: 0 / 0.7406 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6983, allocations: 0 / 0.7406 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6983, allocations: 0 / 0.7406 GB, free: 14.81 MB / 0.6075 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.0005807/0.6989, allocations: 295.5 kB / 0.7409 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6989, allocations: 9.375 kB / 0.7409 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.6991, allocations: 20.34 kB / 0.7409 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.6992, allocations: 106.7 kB / 0.741 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.6992, allocations: 1.688 kB / 0.741 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.6992, allocations: 11.73 kB / 0.741 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6995, allocations: 140.4 kB / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6995, allocations: 0 / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6995, allocations: 5.422 kB / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6995, allocations: 1.531 kB / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.6995, allocations: 19.7 kB / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.6997, allocations: 113.8 kB / 0.7413 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6998, allocations: 58.42 kB / 0.7413 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.6999, allocations: 14.3 kB / 0.7414 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.712, allocations: 2.869 MB / 0.7442 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.7121, allocations: 37.7 kB / 0.7442 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.7121, allocations: 0 / 0.7442 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04466/0.7568, allocations: 14.91 MB / 0.7588 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.7568, allocations: 55.47 kB / 0.7588 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.7569, allocations: 93.86 kB / 0.7589 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7569, allocations: 31.98 kB / 0.7589 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.757, allocations: 83.42 kB / 0.759 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.757, allocations: 48.52 kB / 0.7591 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.7571, allocations: 32.83 kB / 0.7591 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7572, allocations: 314.8 kB / 0.7594 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.7573, allocations: 21.42 kB / 0.7594 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.7573, allocations: 33.23 kB / 0.7594 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.7574, allocations: 64.53 kB / 0.7595 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.7574, allocations: 0 / 0.7595 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002253/0.7577, allocations: 106.9 kB / 0.7596 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7577, allocations: 5.469 kB / 0.7596 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7577, allocations: 0 / 0.7596 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7577, allocations: 0 / 0.7596 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7578, allocations: 27.8 kB / 0.7596 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7578, allocations: 3.859 kB / 0.7596 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.7578, allocations: 4 kB / 0.7596 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.7579, allocations: 5.469 kB / 0.7597 GB, free: 9.512 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 9.578e-05/0.758, allocations: 120.6 kB / 0.7598 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.758, allocations: 6.203 kB / 0.7598 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.7583, allocations: 122.6 kB / 0.7599 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7583, allocations: 0 / 0.7599 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7583, allocations: 6.297 kB / 0.7599 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7583, allocations: 0 / 0.7599 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.7584, allocations: 118.6 kB / 0.76 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7584, allocations: 11.88 kB / 0.76 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.7585, allocations: 26.27 kB / 0.76 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7585, allocations: 2.938 kB / 0.76 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.7586, allocations: 1.203 kB / 0.7601 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7586, allocations: 0 / 0.7601 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7586, allocations: 2.594 kB / 0.7601 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.7589, allocations: 158 kB / 0.7602 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.7589, allocations: 17.48 kB / 0.7602 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.7589, allocations: 4 kB / 0.7602 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7591, allocations: 15.58 kB / 0.7602 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.7591, allocations: 10.98 kB / 0.7602 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.7591, allocations: 5.438 kB / 0.7603 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.7592, allocations: 75.28 kB / 0.7603 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7592, allocations: 1.094 kB / 0.7603 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001837/0.761, allocations: 0.5711 MB / 0.7609 GB, free: 8.895 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.003152/0.7642, allocations: 357.3 kB / 0.7612 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.7643, allocations: 68.89 kB / 0.7613 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7643, allocations: 0 / 0.7613 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.7644, allocations: 30.42 kB / 0.7613 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.7646, allocations: 21.31 kB / 0.7613 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.7652, allocations: 340.2 kB / 0.7617 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.7653, allocations: 68.78 kB / 0.7617 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.993e-05/0.7653, allocations: 24.53 kB / 0.7618 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.7654, allocations: 24.75 kB / 0.7618 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.7654, allocations: 0 / 0.7618 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.0395/0.8049, allocations: 24.26 MB / 0.7855 GB, free: 5.375 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.92650977987796] Failed to read output from testmodel.py, exit status != 0: 0.8140884458553046 0.828890768 0.12750906999999995 Calling exit ...