Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.001405/0.001405, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001599/0.001599, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05455/0.05455, allocations: 9.135 MB / 321.6 MB, free: 10.24 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 59.89 kB / 447 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1065, allocations: 54.95 MB / 0.4902 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02049/0.127, allocations: 15.47 MB / 0.5053 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2393/0.3663, allocations: 9.809 MB / 0.5149 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3664, allocations: 0 / 0.5149 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.3671, allocations: 222.2 kB / 0.5151 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.3672, allocations: 51.31 kB / 0.5151 GB, free: 7.555 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.3809, allocations: 6.012 MB / 0.521 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3811, allocations: 77.25 kB / 0.5211 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3811, allocations: 3.766 kB / 0.5211 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.3812, allocations: 36.44 kB / 0.5211 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.3812, allocations: 19.27 kB / 0.5211 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.3813, allocations: 1.5 kB / 0.5211 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.3942, allocations: 6.1 MB / 0.5271 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3942, allocations: 9.953 kB / 0.5271 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3943, allocations: 19.5 kB / 0.5271 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4054, allocations: 3.077 MB / 0.5301 GB, free: 6.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4054, allocations: 1.406 kB / 0.5301 GB, free: 6.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4055, allocations: 7.938 kB / 0.5301 GB, free: 6.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.4055, allocations: 0 / 0.5301 GB, free: 6.859 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003794/0.4093, allocations: 0.7377 MB / 0.5308 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4093, allocations: 9.031 kB / 0.5308 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.4094, allocations: 6.172 kB / 0.5308 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.4095, allocations: 104.3 kB / 0.5309 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4095, allocations: 8.438 kB / 0.531 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4095, allocations: 0.5312 kB / 0.531 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.4096, allocations: 58.69 kB / 0.531 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4097, allocations: 1.391 kB / 0.531 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4097, allocations: 4 kB / 0.531 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4097, allocations: 1.062 kB / 0.531 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.4097, allocations: 31.66 kB / 0.531 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4099, allocations: 125.7 kB / 0.5312 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.41, allocations: 42.81 kB / 0.5312 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.41, allocations: 36.02 kB / 0.5312 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05138/0.4614, allocations: 11.9 MB / 0.5429 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4614, allocations: 34.5 kB / 0.5429 GB, free: 2.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.4615, allocations: 0 / 0.5429 GB, free: 2.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002475/0.4617, allocations: 127.4 kB / 0.543 GB, free: 2.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.4617, allocations: 51.41 kB / 0.5431 GB, free: 2.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.4618, allocations: 95.27 kB / 0.5432 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.4618, allocations: 28.95 kB / 0.5432 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.4618, allocations: 80.14 kB / 0.5433 GB, free: 2.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.4618, allocations: 59.08 kB / 0.5433 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.4619, allocations: 22.95 kB / 0.5433 GB, free: 2.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.4619, allocations: 316.7 kB / 0.5436 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.4619, allocations: 29.61 kB / 0.5437 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.462, allocations: 31.89 kB / 0.5437 GB, free: 1.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.089e-05/0.462, allocations: 72.92 kB / 0.5438 GB, free: 1.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.462, allocations: 0 / 0.5438 GB, free: 1.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.108e-05/0.4621, allocations: 96.19 kB / 0.5439 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4621, allocations: 5.562 kB / 0.5439 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4621, allocations: 0 / 0.5439 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4621, allocations: 0.7188 kB / 0.5439 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.4621, allocations: 6.906 kB / 0.5439 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4621, allocations: 0 / 0.5439 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.4622, allocations: 0 / 0.5439 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4622, allocations: 3.781 kB / 0.5439 GB, free: 1.668 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.111e-05/0.4622, allocations: 123.7 kB / 0.544 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.4623, allocations: 6.391 kB / 0.544 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.4624, allocations: 161.2 kB / 0.5442 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4624, allocations: 2.562 kB / 0.5442 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4624, allocations: 4.031 kB / 0.5442 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4624, allocations: 0 / 0.5442 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.505e-05/0.4625, allocations: 120.8 kB / 0.5443 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4625, allocations: 3.984 kB / 0.5443 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-06/0.4625, allocations: 0.6562 kB / 0.5443 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4625, allocations: 1.969 kB / 0.5443 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.4625, allocations: 0.8125 kB / 0.5443 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4625, allocations: 0 / 0.5443 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4625, allocations: 6.938 kB / 0.5443 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.624e-05/0.4626, allocations: 94.52 kB / 0.5444 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.4626, allocations: 7.891 kB / 0.5444 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.4626, allocations: 7.344 kB / 0.5444 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.4626, allocations: 3.625 kB / 0.5444 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.4626, allocations: 4.688 kB / 0.5444 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4626, allocations: 1.406 kB / 0.5444 GB, free: 1.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.4627, allocations: 100.7 kB / 0.5445 GB, free: 1.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4627, allocations: 0 / 0.5445 GB, free: 1.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002298/0.465, allocations: 0.8865 MB / 0.5454 GB, free: 0.9102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002992/0.468, allocations: 1.367 MB / 0.5467 GB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4681, allocations: 45.36 kB / 0.5467 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4681, allocations: 0 / 0.5467 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.4681, allocations: 14.78 kB / 0.5468 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4685, allocations: 58.03 kB / 0.5468 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.4688, allocations: 169.8 kB / 0.547 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.4688, allocations: 68.58 kB / 0.547 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.678e-05/0.4689, allocations: 8.656 kB / 0.5471 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.4689, allocations: 12.59 kB / 0.5471 GB, free: 212 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4689, allocations: 3.938 kB / 0.5471 GB, free: 208 kB / 382.1 MB Notification: Performance of Templates: time 0.0381/0.507, allocations: 24.33 MB / 0.5708 GB, free: 8.199 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.981921104714274] Failed to read output from testmodel.py, exit status != 0: 0.5153354443609715 0.532165733 0.12343461900000001 Calling exit ...