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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 114.2 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 194.4 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 251 MB, free: 13.02 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.9258/0.9258, allocations: 134 MB / 440.3 MB, free: 192 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 75.41 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1994, allocations: 84.73 MB / 0.6935 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002861/0.2023, allocations: 1.257 MB / 0.6947 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5476/0.7499, allocations: 138.2 MB / 0.8296 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.75, allocations: 0 / 0.8296 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.75, allocations: 0 / 0.8296 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.7501, allocations: 3.938 kB / 0.8296 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.7513, allocations: 479.8 kB / 0.8301 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.7514, allocations: 42.23 kB / 0.8301 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.7515, allocations: 4 kB / 0.8301 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.7515, allocations: 20.27 kB / 0.8301 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.7516, allocations: 21.91 kB / 0.8301 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.7516, allocations: 2.781 kB / 0.8301 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.753, allocations: 0.8337 MB / 0.831 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.753, allocations: 14.53 kB / 0.831 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.753, allocations: 11.84 kB / 0.831 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.7536, allocations: 453.6 kB / 0.8314 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7536, allocations: 0 / 0.8314 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7536, allocations: 0 / 0.8314 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7536, allocations: 2.906 kB / 0.8314 GB, free: 2.223 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.0005371/0.7542, allocations: 304.7 kB / 0.8317 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7542, allocations: 7.656 kB / 0.8317 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.7544, allocations: 15.02 kB / 0.8317 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.7545, allocations: 106.3 kB / 0.8318 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.7545, allocations: 3.125 kB / 0.8318 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.7546, allocations: 14.44 kB / 0.8319 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.7547, allocations: 61.83 kB / 0.8319 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7547, allocations: 0 / 0.8319 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.7547, allocations: 9.75 kB / 0.8319 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7547, allocations: 2.719 kB / 0.8319 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.7548, allocations: 18.86 kB / 0.8319 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.755, allocations: 136.2 kB / 0.8321 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.7551, allocations: 46.97 kB / 0.8321 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.7552, allocations: 20.61 kB / 0.8321 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.7667, allocations: 2.867 MB / 0.8349 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.7667, allocations: 36.81 kB / 0.835 GB, free: 344 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.7667, allocations: 0 / 0.835 GB, free: 344 kB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04555/0.8123, allocations: 14.91 MB / 0.8495 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8123, allocations: 55.41 kB / 0.8496 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.8124, allocations: 93.86 kB / 0.8497 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.8124, allocations: 29.7 kB / 0.8497 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.8125, allocations: 92.02 kB / 0.8498 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.8125, allocations: 39.81 kB / 0.8498 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.8126, allocations: 33.7 kB / 0.8499 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8127, allocations: 318.8 kB / 0.8502 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.8128, allocations: 19.98 kB / 0.8502 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.8128, allocations: 20 kB / 0.8502 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.813, allocations: 64.78 kB / 0.8503 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.813, allocations: 0 / 0.8503 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000246/0.8132, allocations: 113.6 kB / 0.8504 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.8132, allocations: 8 kB / 0.8504 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8132, allocations: 4.234 kB / 0.8504 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8133, allocations: 1.938 kB / 0.8504 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8134, allocations: 23.98 kB / 0.8504 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.8134, allocations: 3.984 kB / 0.8504 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.8134, allocations: 4 kB / 0.8504 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8134, allocations: 4 kB / 0.8504 GB, free: 1.273 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.0001116/0.8135, allocations: 121.7 kB / 0.8505 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.8136, allocations: 7.953 kB / 0.8505 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.8139, allocations: 126.5 kB / 0.8507 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8139, allocations: 4 kB / 0.8507 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8139, allocations: 0 / 0.8507 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8139, allocations: 0 / 0.8507 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.8141, allocations: 152.7 kB / 0.8508 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8141, allocations: 3.984 kB / 0.8508 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.8142, allocations: 31.86 kB / 0.8508 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8142, allocations: 0 / 0.8508 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.8143, allocations: 12 kB / 0.8509 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8143, allocations: 3.312 kB / 0.8509 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8143, allocations: 0 / 0.8509 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.8146, allocations: 159.2 kB / 0.851 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.8147, allocations: 8.031 kB / 0.851 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.8147, allocations: 0 / 0.851 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8148, allocations: 19.98 kB / 0.851 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.8149, allocations: 7.984 kB / 0.851 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.8149, allocations: 8 kB / 0.8511 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.8149, allocations: 79.22 kB / 0.8511 GB, free: 480 kB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.8149, allocations: 0 / 0.8511 GB, free: 480 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002074/0.817, allocations: 0.5622 MB / 0.8517 GB, free: 15.9 MB / 0.6231 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.003134/0.8201, allocations: 354.8 kB / 0.852 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.8204, allocations: 65.16 kB / 0.8521 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8204, allocations: 7.938 kB / 0.8521 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.8205, allocations: 28 kB / 0.8521 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.8207, allocations: 15.92 kB / 0.8521 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.8213, allocations: 338 kB / 0.8525 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.8217, allocations: 0.6846 MB / 0.8531 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.848e-05/0.8218, allocations: 24.53 kB / 0.8531 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.8218, allocations: 19.44 kB / 0.8532 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.8218, allocations: 0 / 0.8532 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.039/0.8608, allocations: 24.31 MB / 0.8769 GB, free: 6.031 MB / 0.6387 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: 9.947086290456355] Failed to read output from testmodel.py, exit status != 0: 0.8683971241116524 0.883132154 0.126528741 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa3261e17b0>