Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_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.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 106.5 kB / 16.37 MB, free: 6.48 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.001331/0.001331, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.676/1.676, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04748/0.04748, allocations: 9.089 MB / 279.6 MB, free: 2.977 MB / 222.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.001483/0.001483, allocations: 67.89 kB / 339.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 48.14 MB / 387.6 MB, free: 51.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02049/0.2875, allocations: 18.94 MB / 406.6 MB, free: 37.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006628/0.2942, allocations: 7.376 MB / 413.9 MB, free: 31.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.2944, allocations: 1.844 kB / 413.9 MB, free: 31.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2955, allocations: 444.6 kB / 414.4 MB, free: 31.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006307/0.2961, allocations: 250.8 kB / 414.6 MB, free: 31.12 MB / 318.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'. Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.3087, allocations: 4.203 MB / 418.8 MB, free: 28.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.3092, allocations: 362 kB / 419.2 MB, free: 28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.3093, allocations: 20.3 kB / 419.2 MB, free: 27.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.3095, allocations: 163.3 kB / 419.4 MB, free: 27.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.3096, allocations: 75.56 kB / 419.4 MB, free: 27.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3097, allocations: 4 kB / 419.4 MB, free: 27.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.3206, allocations: 7.038 MB / 426.5 MB, free: 20.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.3207, allocations: 11.88 kB / 426.5 MB, free: 20.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.321, allocations: 99.56 kB / 426.6 MB, free: 20.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009756/0.3308, allocations: 3.138 MB / 429.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3309, allocations: 0 / 429.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.3309, allocations: 0 / 429.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3309, allocations: 0 / 429.7 MB, free: 17.44 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001183/0.3321, allocations: 0.7528 MB / 430.5 MB, free: 16.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3321, allocations: 12.03 kB / 430.5 MB, free: 16.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3322, allocations: 11.81 kB / 430.5 MB, free: 16.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3323, allocations: 182.9 kB / 430.7 MB, free: 16.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3323, allocations: 7.875 kB / 430.7 MB, free: 16.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3323, allocations: 0 / 430.7 MB, free: 16.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3325, allocations: 169 kB / 430.9 MB, free: 16.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3325, allocations: 0 / 430.9 MB, free: 16.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3325, allocations: 4 kB / 430.9 MB, free: 16.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3325, allocations: 7.984 kB / 430.9 MB, free: 16.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.3326, allocations: 140.4 kB / 431 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.3329, allocations: 303.6 kB / 431.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.333, allocations: 202.9 kB / 431.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3332, allocations: 194.8 kB / 431.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0503/0.3835, allocations: 28.58 MB / 460.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.3836, allocations: 30.56 kB / 460.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=64): time 3.296e-06/0.3836, allocations: 0 / 460.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.0009837/0.3846, allocations: 0.5337 MB / 460.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3847, allocations: 51.41 kB / 460.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3848, allocations: 113.8 kB / 461 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3848, allocations: 25.7 kB / 461 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3849, allocations: 85.45 kB / 461.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3851, allocations: 200.9 kB / 461.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.3852, allocations: 45.69 kB / 461.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3854, allocations: 334.8 kB / 461.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3856, allocations: 132.5 kB / 461.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3858, allocations: 134.7 kB / 461.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.3862, allocations: 336.3 kB / 462.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3862, allocations: 0 / 462.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003975/0.3866, allocations: 366 kB / 462.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3866, allocations: 8.781 kB / 462.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3866, allocations: 0.5625 kB / 462.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.3867, allocations: 0 / 462.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3867, allocations: 3.938 kB / 462.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3867, allocations: 0 / 462.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.3868, allocations: 23.69 kB / 462.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3868, allocations: 6.125 kB / 462.7 MB, free: 11.48 MB / 350.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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000153/0.387, allocations: 129.8 kB / 462.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.387, allocations: 19.72 kB / 462.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008031/0.3878, allocations: 0.7032 MB / 463.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.3879, allocations: 7.984 kB / 463.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3879, allocations: 3.938 kB / 463.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3879, allocations: 0 / 463.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3881, allocations: 289.6 kB / 463.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3882, allocations: 0 / 463.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3882, allocations: 0 / 463.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3882, allocations: 4 kB / 463.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3882, allocations: 4 kB / 463.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3882, allocations: 3.938 kB / 463.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3882, allocations: 0 / 463.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3885, allocations: 329.3 kB / 464.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.3886, allocations: 92.86 kB / 464.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3887, allocations: 7.938 kB / 464.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3887, allocations: 1.812 kB / 464.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3888, allocations: 7.984 kB / 464.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3888, allocations: 4 kB / 464.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3889, allocations: 112.8 kB / 464.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3889, allocations: 0 / 464.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002722/0.3916, allocations: 0.6988 MB / 465.1 MB, free: 8.926 MB / 350.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: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002808/0.3944, allocations: 1.014 MB / 466.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.3949, allocations: 303.5 kB / 466.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3949, allocations: 0 / 466.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.395, allocations: 144.3 kB / 466.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.3962, allocations: 230 kB / 466.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.3969, allocations: 414.4 kB / 467.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3975, allocations: 0.7368 MB / 467.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.3975, allocations: 12.44 kB / 467.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.3976, allocations: 11.44 kB / 467.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3976, allocations: 4 kB / 467.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.04114/0.4387, allocations: 25.38 MB / 493.3 MB, free: 12.72 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)