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.001057/0.001057, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.00095/0.00095, allocations: 168.9 kB / 23.01 MB, free: 1.562 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 1.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.113 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.03075/0.03075, allocations: 7.513 MB / 267.5 MB, free: 5.727 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.904e-06/1.904e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.382e-05, allocations: 5.406 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01873/0.01875, allocations: 17.09 MB / 355.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009819/0.02857, allocations: 11.15 MB / 366.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.02861, allocations: 0 / 366.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.02911, allocations: 239.2 kB / 367.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.02915, allocations: 35.77 kB / 367.1 MB, free: 14.39 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.009368/0.03852, allocations: 6.086 MB / 373.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.03862, allocations: 83.48 kB / 373.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.03866, allocations: 3.984 kB / 373.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.03874, allocations: 51.78 kB / 373.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.03877, allocations: 12 kB / 373.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.03878, allocations: 3.938 kB / 373.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006583/0.04536, allocations: 6.146 MB / 379.5 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.04538, allocations: 7.938 kB / 379.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.04542, allocations: 12 kB / 379.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.0499, allocations: 3.639 MB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.04991, allocations: 11.92 kB / 383.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04991, allocations: 0 / 383.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.04992, allocations: 0 / 383.2 MB, free: 14.28 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.00109/0.05101, allocations: 0.8318 MB / 384 MB, free: 13.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.05105, allocations: 8.625 kB / 384 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.05108, allocations: 11.89 kB / 384 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.05117, allocations: 116 kB / 384.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.05118, allocations: 4 kB / 384.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.05119, allocations: 4 kB / 384.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.05129, allocations: 37.7 kB / 384.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.0513, allocations: 0 / 384.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.05131, allocations: 0 / 384.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.05132, allocations: 3.984 kB / 384.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.05134, allocations: 11.98 kB / 384.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.05148, allocations: 144.4 kB / 384.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.05153, allocations: 35 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.05155, allocations: 19.72 kB / 384.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02509/0.07664, allocations: 11.37 MB / 395.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.07667, allocations: 33.39 kB / 395.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.07667, allocations: 0 / 395.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000194/0.07686, allocations: 85.64 kB / 395.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.07689, allocations: 55.41 kB / 396 MB, free: 1.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.07696, allocations: 157.8 kB / 396.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.07697, allocations: 29.7 kB / 396.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.077, allocations: 131 kB / 396.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.07704, allocations: 43.64 kB / 396.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.07707, allocations: 31.36 kB / 396.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.07718, allocations: 0.4884 MB / 396.8 MB, free: 444 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.0772, allocations: 8 kB / 396.8 MB, free: 436 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.07722, allocations: 11.62 kB / 396.8 MB, free: 428 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.07726, allocations: 43.67 kB / 396.9 MB, free: 380 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.07726, allocations: 0 / 396.9 MB, free: 380 kB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.919e-05/0.07733, allocations: 69.64 kB / 397 MB, free: 304 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.07735, allocations: 5.719 kB / 397 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.07736, allocations: 3.938 kB / 397 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.07737, allocations: 8.062 kB / 397 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.07737, allocations: 0 / 397 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.07738, allocations: 3.938 kB / 397 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.0774, allocations: 7.891 kB / 397 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.07741, allocations: 0 / 397 MB, free: 276 kB / 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 6.454e-05/0.07747, allocations: 160.6 kB / 397.1 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.07748, allocations: 0 / 397.1 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.07765, allocations: 175.5 kB / 397.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.07766, allocations: 0 / 397.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.07766, allocations: 11.95 kB / 397.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.07766, allocations: 7.875 kB / 397.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.55e-05/0.07774, allocations: 128.5 kB / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.07774, allocations: 7.984 kB / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.07774, allocations: 4 kB / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.07775, allocations: 0 / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.07775, allocations: 0 / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.07775, allocations: 0 / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.07775, allocations: 0 / 397.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.734e-05/0.07782, allocations: 92.36 kB / 397.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.07783, allocations: 7.953 kB / 397.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.07784, allocations: 4.031 kB / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.07785, allocations: 0 / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.07786, allocations: 4 kB / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.07787, allocations: 0 / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.07791, allocations: 147 kB / 397.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07791, allocations: 0 / 397.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001283/0.0792, allocations: 0.8761 MB / 398.6 MB, free: 14.55 MB / 330.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.00232/0.08152, allocations: 1.481 MB / 400.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.0816, allocations: 43.66 kB / 400.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.08161, allocations: 0 / 400.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.08162, allocations: 19.62 kB / 400.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.08187, allocations: 64.2 kB / 400.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.08243, allocations: 166 kB / 400.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.08246, allocations: 63.34 kB / 400.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.08248, allocations: 7.984 kB / 400.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.0825, allocations: 12.5 kB / 400.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0825, allocations: 0 / 400.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Templates: time 0.1225/0.205, allocations: 24.51 MB / 424.9 MB, free: 75.46 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.5500015998259187]