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.001887/0.001887, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002257/0.002257, allocations: 157.6 kB / 23.01 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.8466/0.8466, allocations: 101.3 MB / 361.1 MB, free: 9.555 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.002121/0.002121, allocations: 65.95 kB / 0.5356 GB, free: 5.457 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.1848/0.1869, allocations: 85.88 MB / 0.6195 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002896/0.1898, allocations: 1.269 MB / 0.6207 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.578/0.7678, allocations: 120.9 MB / 0.7388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.7679, allocations: 0 / 0.7388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.7679, allocations: 7.094 kB / 0.7388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.7679, allocations: 4.906 kB / 0.7388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.7694, allocations: 475.1 kB / 0.7393 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.7694, allocations: 47.09 kB / 0.7393 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.7695, allocations: 1.031 kB / 0.7393 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.7695, allocations: 21.06 kB / 0.7393 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.7696, allocations: 21.75 kB / 0.7394 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.7696, allocations: 2.156 kB / 0.7394 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.7711, allocations: 0.7999 MB / 0.7401 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.7711, allocations: 10.81 kB / 0.7402 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.7711, allocations: 13.44 kB / 0.7402 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.7718, allocations: 445.1 kB / 0.7406 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7718, allocations: 0 / 0.7406 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7718, allocations: 1.656 kB / 0.7406 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7718, allocations: 0 / 0.7406 GB, free: 14.38 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.0005943/0.7724, allocations: 305 kB / 0.7409 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7724, allocations: 8.812 kB / 0.7409 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.7726, allocations: 12.52 kB / 0.7409 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7727, allocations: 112 kB / 0.741 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.7728, allocations: 4.406 kB / 0.741 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.7728, allocations: 10.67 kB / 0.741 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.773, allocations: 139 kB / 0.7412 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.773, allocations: 0 / 0.7412 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.7731, allocations: 8.828 kB / 0.7412 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7731, allocations: 4 kB / 0.7412 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.7731, allocations: 20.77 kB / 0.7412 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.7733, allocations: 105.5 kB / 0.7413 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7734, allocations: 56.5 kB / 0.7413 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.7734, allocations: 13.5 kB / 0.7414 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.7852, allocations: 2.87 MB / 0.7442 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.7853, allocations: 35.66 kB / 0.7442 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7853, allocations: 1.188 kB / 0.7442 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04498/0.8303, allocations: 14.92 MB / 0.7588 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.8303, allocations: 62.98 kB / 0.7588 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.8304, allocations: 92.48 kB / 0.7589 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.8304, allocations: 33.2 kB / 0.7589 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.8305, allocations: 80.14 kB / 0.759 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.8305, allocations: 47.36 kB / 0.7591 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.8306, allocations: 26.41 kB / 0.7591 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8308, allocations: 325.9 kB / 0.7594 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.8308, allocations: 23.61 kB / 0.7594 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.8309, allocations: 23.84 kB / 0.7594 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.831, allocations: 65.19 kB / 0.7595 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.831, allocations: 0 / 0.7595 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002271/0.8312, allocations: 98.69 kB / 0.7596 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.8312, allocations: 13.27 kB / 0.7596 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8313, allocations: 0 / 0.7596 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8313, allocations: 0 / 0.7596 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.8314, allocations: 27.11 kB / 0.7596 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8314, allocations: 0 / 0.7596 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.8314, allocations: 7.984 kB / 0.7596 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.8314, allocations: 8.594 kB / 0.7597 GB, free: 9.262 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.0001125/0.8316, allocations: 116.2 kB / 0.7598 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.8316, allocations: 6.234 kB / 0.7598 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.8319, allocations: 120.8 kB / 0.7599 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8319, allocations: 3.406 kB / 0.7599 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8319, allocations: 4 kB / 0.7599 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8319, allocations: 0 / 0.7599 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.8321, allocations: 120.5 kB / 0.76 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8321, allocations: 11.75 kB / 0.76 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.8322, allocations: 23.48 kB / 0.76 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8322, allocations: 2.375 kB / 0.76 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8322, allocations: 4.094 kB / 0.7601 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8322, allocations: 2.812 kB / 0.7601 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8322, allocations: 0 / 0.7601 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.8325, allocations: 153.1 kB / 0.7602 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.8326, allocations: 20.77 kB / 0.7602 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.8326, allocations: 4 kB / 0.7602 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.8327, allocations: 14.89 kB / 0.7602 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.8328, allocations: 9.797 kB / 0.7602 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.8328, allocations: 5.844 kB / 0.7603 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.8328, allocations: 77.81 kB / 0.7603 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.8328, allocations: 1.094 kB / 0.7603 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002389/0.8352, allocations: 0.5677 MB / 0.7609 GB, free: 8.738 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.004055/0.8393, allocations: 364 kB / 0.7612 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.8395, allocations: 69.78 kB / 0.7613 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8395, allocations: 0 / 0.7613 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.8395, allocations: 32.92 kB / 0.7613 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.8397, allocations: 13.38 kB / 0.7613 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.8404, allocations: 348.2 kB / 0.7617 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.8404, allocations: 68.75 kB / 0.7617 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.899e-05/0.8405, allocations: 21.02 kB / 0.7618 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.8405, allocations: 23.77 kB / 0.7618 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.8405, allocations: 0 / 0.7618 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of Templates: time 0.04409/0.8846, allocations: 24.26 MB / 0.7855 GB, free: 5.195 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 ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.78600247995928] Failed to read output from testmodel.py, exit status != 0: 0.8932586230803281 0.910426057 0.135376253 Calling exit ...