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.001256/0.001256, allocations: 85.95 kB / 19.87 MB, free: 4.613 MB / 18.57 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.001395/0.001395, allocations: 169.7 kB / 23.27 MB, free: 1.215 MB / 18.57 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 0.9054/0.9054, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.03025/0.03025, allocations: 7.528 MB / 267.8 MB, free: 5.832 MB / 250.7 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 1.633e-06/1.633e-06, allocations: 0 / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.321e-05, allocations: 2.312 kB / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01292/0.01294, allocations: 16.83 MB / 355.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007211/0.02015, allocations: 10.94 MB / 366.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.02018, allocations: 0 / 366.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.02057, allocations: 227.2 kB / 367.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.02062, allocations: 51.69 kB / 367.1 MB, free: 14.58 MB / 298.7 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.007307/0.02792, allocations: 6.078 MB / 373.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.028, allocations: 91.48 kB / 373.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.02803, allocations: 0 / 373.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.0281, allocations: 47.78 kB / 373.3 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.02813, allocations: 19.92 kB / 373.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.02814, allocations: 4 kB / 373.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005745/0.03389, allocations: 6.154 MB / 379.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.0339, allocations: 7.938 kB / 379.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.03392, allocations: 12 kB / 379.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.03731, allocations: 3.655 MB / 383.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.03731, allocations: 0 / 383.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03731, allocations: 0 / 383.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.03731, allocations: 0 / 383.2 MB, free: 14.46 MB / 314.7 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.0008599/0.03817, allocations: 0.8396 MB / 384 MB, free: 13.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.03821, allocations: 8.625 kB / 384 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.03823, allocations: 11.89 kB / 384 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.094e-05/0.0383, allocations: 108.1 kB / 384.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.03831, allocations: 4 kB / 384.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.03832, allocations: 0 / 384.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.043e-05/0.03838, allocations: 37.69 kB / 384.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.03838, allocations: 3.938 kB / 384.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.03839, allocations: 0 / 384.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.03839, allocations: 11.92 kB / 384.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.156e-05/0.03841, allocations: 8 kB / 384.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.03851, allocations: 117.1 kB / 384.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.265e-05/0.03854, allocations: 31.06 kB / 384.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.03855, allocations: 19.72 kB / 384.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02122/0.05977, allocations: 9.518 MB / 393.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.05979, allocations: 37.39 kB / 393.9 MB, free: 3.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.05979, allocations: 0 / 393.9 MB, free: 3.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001317/0.05992, allocations: 81.58 kB / 394 MB, free: 3.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.05994, allocations: 55.41 kB / 394.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.06, allocations: 149.9 kB / 394.2 MB, free: 3.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.06001, allocations: 29.7 kB / 394.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.06004, allocations: 126.9 kB / 394.4 MB, free: 3.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.06007, allocations: 43.62 kB / 394.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.0601, allocations: 27.36 kB / 394.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.0602, allocations: 0.5002 MB / 394.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.06021, allocations: 4 kB / 394.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.06023, allocations: 8 kB / 395 MB, free: 2.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.06026, allocations: 39.67 kB / 395 MB, free: 2.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.06026, allocations: 0 / 395 MB, free: 2.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.207e-05/0.06032, allocations: 72.45 kB / 395.1 MB, free: 2.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.06033, allocations: 4 kB / 395.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.06034, allocations: 0 / 395.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.06035, allocations: 0 / 395.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.06035, allocations: 0 / 395.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.06035, allocations: 0 / 395.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.06037, allocations: 19.89 kB / 395.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.06038, allocations: 0 / 395.1 MB, free: 2.375 MB / 314.7 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.56e-05/0.06043, allocations: 156.6 kB / 395.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-06/0.06044, allocations: 4 kB / 395.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.06058, allocations: 175.4 kB / 395.4 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.06058, allocations: 7.938 kB / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.06058, allocations: 0 / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.06059, allocations: 0 / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/0.06065, allocations: 113.1 kB / 395.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.06065, allocations: 4.031 kB / 395.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.06065, allocations: 0 / 395.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.06065, allocations: 0 / 395.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.06066, allocations: 4 kB / 395.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.06066, allocations: 0 / 395.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.06066, allocations: 0 / 395.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.786e-05/0.06072, allocations: 100.3 kB / 395.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.06072, allocations: 3.953 kB / 395.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.06073, allocations: 0 / 395.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.06074, allocations: 7.984 kB / 395.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-06/0.06075, allocations: 0 / 395.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.06075, allocations: 4.031 kB / 395.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.781e-05/0.06079, allocations: 135.2 kB / 395.8 MB, free: 1.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.06079, allocations: 0 / 395.8 MB, free: 1.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009326/0.06172, allocations: 0.88 MB / 396.7 MB, free: 0.6914 MB / 314.7 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.002049/0.06377, allocations: 1.527 MB / 398.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.06384, allocations: 27.62 kB / 398.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.06384, allocations: 4 kB / 398.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.06385, allocations: 23.66 kB / 398.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.06409, allocations: 60.16 kB / 398.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.06455, allocations: 166 kB / 398.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.06458, allocations: 59.36 kB / 398.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.0646, allocations: 4 kB / 398.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.06468, allocations: 106.2 kB / 398.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.06468, allocations: 0 / 398.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Templates: time 0.1158/0.1805, allocations: 29.41 MB / 428 MB, free: 72.43 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6453191116452217]