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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007089/0.007089, allocations: 96.47 kB / 15.73 MB, free: 6.051 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.001842/0.001842, allocations: 197.9 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.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05277/0.05277, allocations: 9.093 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.002189/0.002189, allocations: 71.89 kB / 387 MB, free: 8.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2596, allocations: 48.16 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0201/0.2798, allocations: 18.93 MB / 454.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008237/0.2881, allocations: 7.38 MB / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2882, allocations: 2.75 kB / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.2894, allocations: 440.5 kB / 461.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006114/0.29, allocations: 255.9 kB / 462.1 MB, free: 2.637 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'. Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.3023, allocations: 4.203 MB / 466.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.3031, allocations: 367.4 kB / 466.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.3032, allocations: 19.81 kB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.3035, allocations: 158.3 kB / 466.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3037, allocations: 69 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3037, allocations: 1.375 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.3163, allocations: 7.046 MB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.3164, allocations: 7.875 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3166, allocations: 103.5 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.3224, allocations: 3.141 MB / 477.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3224, allocations: 0 / 477.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3224, allocations: 0 / 477.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3224, allocations: 0 / 477.2 MB, free: 6.602 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001266/0.3237, allocations: 0.765 MB / 478 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3237, allocations: 16.03 kB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.3238, allocations: 50.48 kB / 478 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3238, allocations: 23.86 kB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.324, allocations: 186.8 kB / 478.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.324, allocations: 11.94 kB / 478.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3241, allocations: 0 / 478.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3243, allocations: 165 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3243, allocations: 0 / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.3243, allocations: 0 / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3244, allocations: 11.97 kB / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3245, allocations: 132.5 kB / 478.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.3249, allocations: 315.7 kB / 478.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3251, allocations: 203 kB / 479.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3253, allocations: 186 kB / 479.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0545/0.3798, allocations: 28.59 MB / 0.4959 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3799, allocations: 34.56 kB / 0.496 GB, free: 2.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.224e-06/0.3799, allocations: 0 / 0.496 GB, free: 2.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007647/0.3807, allocations: 0.53 MB / 0.4965 GB, free: 2.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3807, allocations: 59.33 kB / 0.4965 GB, free: 2.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3809, allocations: 97.86 kB / 0.4966 GB, free: 2.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3809, allocations: 29.7 kB / 0.4967 GB, free: 2.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.3809, allocations: 81.45 kB / 0.4967 GB, free: 2.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.3811, allocations: 202.1 kB / 0.4969 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.3812, allocations: 49.69 kB / 0.497 GB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3814, allocations: 334.8 kB / 0.4973 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3815, allocations: 132.5 kB / 0.4974 GB, free: 1.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.3817, allocations: 134.7 kB / 0.4976 GB, free: 1.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.3821, allocations: 328.3 kB / 0.4979 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3821, allocations: 4 kB / 0.4979 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004742/0.3826, allocations: 370 kB / 0.4982 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3826, allocations: 8 kB / 0.4982 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3826, allocations: 3.938 kB / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3826, allocations: 0 / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3826, allocations: 0 / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3827, allocations: 0 / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.3827, allocations: 23.73 kB / 0.4983 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3827, allocations: 3.938 kB / 0.4983 GB, free: 0.5391 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: 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.0001447/0.3829, allocations: 137.8 kB / 0.4984 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3829, allocations: 19.86 kB / 0.4984 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.3837, allocations: 0.7034 MB / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.3837, allocations: 11.89 kB / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3837, allocations: 0 / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3837, allocations: 0 / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.384, allocations: 285.7 kB / 0.4994 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.384, allocations: 0 / 0.4994 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-06/0.384, allocations: 0 / 0.4994 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.384, allocations: 3.938 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.384, allocations: 7.984 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.384, allocations: 4 kB / 0.4994 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3841, allocations: 3.938 kB / 0.4994 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.3844, allocations: 329.5 kB / 0.4997 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3846, allocations: 92.95 kB / 0.4998 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3846, allocations: 15.88 kB / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.3847, allocations: 0 / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.3847, allocations: 4 kB / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3847, allocations: 4 kB / 0.4998 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3848, allocations: 122.5 kB / 0.5 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3848, allocations: 0 / 0.5 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001658/0.3865, allocations: 0.6972 MB / 0.5006 GB, free: 13.96 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: 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.003694/0.3902, allocations: 1.779 MB / 0.5024 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.3906, allocations: 307.4 kB / 0.5027 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3906, allocations: 0 / 0.5027 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3907, allocations: 144.4 kB / 0.5028 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3919, allocations: 223.4 kB / 0.503 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.3952, allocations: 2.582 MB / 0.5055 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3956, allocations: 0.7329 MB / 0.5063 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3957, allocations: 16.66 kB / 0.5063 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.3958, allocations: 51.36 kB / 0.5063 GB, free: 8.004 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3958, allocations: 3.938 kB / 0.5063 GB, free: 8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.4623, allocations: 28.31 MB / 0.534 GB, free: 11.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/9.38, allocations: 12 kB / 0.534 GB, free: 11.66 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)