Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007191/0.007191, allocations: 95.61 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 196.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04702/0.04702, allocations: 9.096 MB / 279 MB, free: 12.07 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 387.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 48.15 MB / 435.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01768/0.2598, allocations: 16.89 MB / 452.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.2703, allocations: 10.47 MB / 463 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.2704, allocations: 0 / 463 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.2711, allocations: 266 kB / 463.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.2712, allocations: 21.72 kB / 463.2 MB, free: 2.371 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.01469/0.2859, allocations: 5.749 MB / 469 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.286, allocations: 49.33 kB / 469 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.2861, allocations: 2.406 kB / 469 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.2862, allocations: 35.94 kB / 469.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.2862, allocations: 10.25 kB / 469.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.2862, allocations: 1.156 kB / 469.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.3007, allocations: 8.755 MB / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3008, allocations: 11.94 kB / 477.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.3008, allocations: 11.94 kB / 477.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008419/0.3093, allocations: 3.62 MB / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3093, allocations: 0 / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3093, allocations: 0 / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3093, allocations: 3.984 kB / 481.5 MB, free: 2.746 MB / 350.1 MB 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.001389/0.3107, allocations: 0.7727 MB / 482.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3108, allocations: 8.031 kB / 482.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3108, allocations: 7.891 kB / 482.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3109, allocations: 171 kB / 482.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3109, allocations: 0 / 482.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.311, allocations: 4 kB / 482.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3111, allocations: 41.69 kB / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.3111, allocations: 0 / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3111, allocations: 0 / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3111, allocations: 0 / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.3111, allocations: 11.94 kB / 482.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3113, allocations: 169.5 kB / 482.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.3114, allocations: 38.5 kB / 482.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.3114, allocations: 24.89 kB / 482.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05221/0.3636, allocations: 33.03 MB / 0.5037 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3637, allocations: 34.56 kB / 0.5037 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.3637, allocations: 0 / 0.5037 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002242/0.3639, allocations: 81.8 kB / 0.5038 GB, free: 10.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.364, allocations: 55.39 kB / 0.5038 GB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.3641, allocations: 89.86 kB / 0.5039 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3641, allocations: 25.7 kB / 0.5039 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.3641, allocations: 84.14 kB / 0.504 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3642, allocations: 19.8 kB / 0.504 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3642, allocations: 21.86 kB / 0.5041 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3643, allocations: 314.8 kB / 0.5044 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.3643, allocations: 12 kB / 0.5044 GB, free: 9.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.3644, allocations: 15.97 kB / 0.5044 GB, free: 9.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.3644, allocations: 36.84 kB / 0.5044 GB, free: 9.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3644, allocations: 0 / 0.5044 GB, free: 9.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.18e-05/0.3645, allocations: 65.58 kB / 0.5045 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3645, allocations: 7.984 kB / 0.5045 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3645, allocations: 3.938 kB / 0.5045 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3646, allocations: 4.062 kB / 0.5045 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3646, allocations: 0 / 0.5045 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3646, allocations: 4 kB / 0.5045 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.3646, allocations: 0 / 0.5045 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3646, allocations: 0 / 0.5045 GB, free: 9.59 MB / 398.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.374e-05/0.3647, allocations: 109.8 kB / 0.5046 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3647, allocations: 8 kB / 0.5046 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.3648, allocations: 178.7 kB / 0.5048 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.3649, allocations: 188.2 kB / 0.505 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-05/0.365, allocations: 176.3 kB / 0.5051 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.486e-05/0.365, allocations: 180.2 kB / 0.5053 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3653, allocations: 413.2 kB / 0.5057 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-05/0.3654, allocations: 108.9 kB / 0.5058 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.3654, allocations: 105 kB / 0.5059 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-05/0.3655, allocations: 184.2 kB / 0.5061 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.3656, allocations: 188.1 kB / 0.5063 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-05/0.3657, allocations: 184.3 kB / 0.5064 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-05/0.3658, allocations: 184.2 kB / 0.5066 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.3659, allocations: 307.8 kB / 0.5069 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.366, allocations: 178.1 kB / 0.5071 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.3661, allocations: 196.1 kB / 0.5073 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.3662, allocations: 104.9 kB / 0.5074 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.3662, allocations: 176.5 kB / 0.5075 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3663, allocations: 112.9 kB / 0.5076 GB, free: 6.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.3664, allocations: 99.27 kB / 0.5077 GB, free: 6.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3664, allocations: 0 / 0.5077 GB, free: 6.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001906/0.3683, allocations: 0.8723 MB / 0.5086 GB, free: 5.168 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.003184/0.3715, allocations: 1.421 MB / 0.51 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.3716, allocations: 19.98 kB / 0.51 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3716, allocations: 8 kB / 0.51 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3716, allocations: 3.938 kB / 0.51 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.3721, allocations: 487.7 kB / 0.5105 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.3724, allocations: 215 kB / 0.5107 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3726, allocations: 0.6768 MB / 0.5113 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.3726, allocations: 4 kB / 0.5113 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.3726, allocations: 11.44 kB / 0.5114 GB, free: 2.266 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3727, allocations: 0 / 0.5114 GB, free: 2.266 MB / 398.1 MB Notification: Performance of Templates: time 0.0301/0.4028, allocations: 23.44 MB / 0.5342 GB, free: 10.8 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)