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.008159/0.008159, allocations: 97.69 kB / 15.73 MB, free: 6 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.002242/0.002242, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.344/1.344, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04601/0.04601, allocations: 9.092 MB / 279 MB, free: 12.09 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.001528/0.001528, allocations: 67.91 kB / 387 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2311, allocations: 48.15 MB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01916/0.2503, allocations: 18.95 MB / 454.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007378/0.2577, allocations: 7.38 MB / 461.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.2579, allocations: 2.062 kB / 461.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2592, allocations: 496.4 kB / 461.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.2599, allocations: 279.7 kB / 462.2 MB, free: 2.57 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.0115/0.2714, allocations: 4.384 MB / 466.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.2719, allocations: 367.2 kB / 466.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.272, allocations: 19.38 kB / 467 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.2723, allocations: 159.2 kB / 467.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.2724, allocations: 77.94 kB / 467.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2725, allocations: 1.219 kB / 467.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.2843, allocations: 7.039 MB / 474.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2844, allocations: 11.88 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2846, allocations: 99.5 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.2915, allocations: 3.145 MB / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2915, allocations: 0 / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2915, allocations: 0 / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2916, allocations: 4 kB / 477.5 MB, free: 6.305 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.001309/0.2929, allocations: 0.765 MB / 478.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2929, allocations: 12.03 kB / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.293, allocations: 46.55 kB / 478.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.293, allocations: 23.84 kB / 478.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2931, allocations: 178.8 kB / 478.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2932, allocations: 11.86 kB / 478.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2932, allocations: 8 kB / 478.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2934, allocations: 169 kB / 478.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2934, allocations: 0 / 478.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.2934, allocations: 0 / 478.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2934, allocations: 11.97 kB / 478.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2936, allocations: 132.5 kB / 478.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.2939, allocations: 315.6 kB / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2941, allocations: 203 kB / 479.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2942, allocations: 189.9 kB / 479.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04909/0.3433, allocations: 28.58 MB / 0.4962 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3434, allocations: 34.56 kB / 0.4962 GB, free: 2.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.054e-06/0.3434, allocations: 0 / 0.4962 GB, free: 2.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.000604/0.344, allocations: 0.5378 MB / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.344, allocations: 51.41 kB / 0.4968 GB, free: 2.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.3441, allocations: 101.8 kB / 0.4969 GB, free: 1.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3441, allocations: 29.7 kB / 0.4969 GB, free: 1.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.3442, allocations: 85.44 kB / 0.497 GB, free: 1.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3443, allocations: 202.1 kB / 0.4972 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.3443, allocations: 45.69 kB / 0.4973 GB, free: 1.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3445, allocations: 330.8 kB / 0.4976 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3446, allocations: 140.5 kB / 0.4977 GB, free: 1.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3447, allocations: 130.7 kB / 0.4978 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.345, allocations: 336.3 kB / 0.4981 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.345, allocations: 3.938 kB / 0.4981 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000336/0.3453, allocations: 362.1 kB / 0.4985 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3454, allocations: 5.094 kB / 0.4985 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3454, allocations: 0 / 0.4985 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3454, allocations: 3.938 kB / 0.4985 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.3454, allocations: 4 kB / 0.4985 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3454, allocations: 0 / 0.4985 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.3455, allocations: 28.06 kB / 0.4985 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3455, allocations: 7.922 kB / 0.4985 GB, free: 248 kB / 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.000113/0.3456, allocations: 125.8 kB / 0.4987 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3457, allocations: 23.84 kB / 0.4987 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.3463, allocations: 0.7074 MB / 0.4994 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.3463, allocations: 7.969 kB / 0.4994 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3463, allocations: 4 kB / 0.4994 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3463, allocations: 4 kB / 0.4994 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3466, allocations: 289.7 kB / 0.4997 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3466, allocations: 3.984 kB / 0.4997 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.3466, allocations: 0 / 0.4997 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3466, allocations: 0 / 0.4997 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3466, allocations: 3.938 kB / 0.4997 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3466, allocations: 3.938 kB / 0.4997 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3466, allocations: 0 / 0.4997 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3469, allocations: 325.5 kB / 0.5 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.347, allocations: 104.9 kB / 0.5001 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.347, allocations: 11.89 kB / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.3471, allocations: 0 / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.3471, allocations: 0 / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3471, allocations: 0 / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.97e-05/0.3472, allocations: 119.2 kB / 0.5002 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3472, allocations: 0 / 0.5002 GB, free: 14.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001648/0.3489, allocations: 0.7011 MB / 0.5009 GB, free: 13.67 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.003268/0.3522, allocations: 1.771 MB / 0.5026 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3526, allocations: 307.4 kB / 0.5029 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3526, allocations: 0 / 0.5029 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.3527, allocations: 144.4 kB / 0.5031 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.354, allocations: 230.7 kB / 0.5033 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.357, allocations: 2.582 MB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3573, allocations: 0.7329 MB / 0.5065 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.942e-05/0.3574, allocations: 20.59 kB / 0.5065 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.3574, allocations: 51.41 kB / 0.5066 GB, free: 7.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3574, allocations: 0 / 0.5066 GB, free: 7.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/0.4098, allocations: 28.31 MB / 0.5342 GB, free: 11.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/9.24, allocations: 7.453 kB / 0.5342 GB, free: 11.38 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)