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.001164/0.001164, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.35/1.35, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0461/0.0461, allocations: 9.095 MB / 278.9 MB, free: 12.16 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.00141/0.001411, allocations: 67.91 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0801/0.08153, allocations: 48.15 MB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0191/0.1007, allocations: 18.95 MB / 405.2 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.1085, allocations: 7.368 MB / 412.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.1087, allocations: 0 / 412.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009447/0.1097, allocations: 443 kB / 413 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.1103, allocations: 250.4 kB / 413.3 MB, free: 14.02 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.01001/0.1203, allocations: 4.199 MB / 417.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.1207, allocations: 361.9 kB / 417.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.1208, allocations: 24.31 kB / 417.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.121, allocations: 155.3 kB / 418 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1212, allocations: 83.59 kB / 418.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1212, allocations: 0 / 418.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.1314, allocations: 6.757 MB / 424.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.1315, allocations: 11.88 kB / 424.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1316, allocations: 99.56 kB / 425 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1719/0.3035, allocations: 3.137 MB / 428.1 MB, free: 23.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3035, allocations: 0 / 428.1 MB, free: 23.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3036, allocations: 3.312 kB / 428.1 MB, free: 23.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3036, allocations: 0 / 428.1 MB, free: 23.72 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.00136/0.3049, allocations: 0.7473 MB / 428.9 MB, free: 23.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.305, allocations: 12.5 kB / 428.9 MB, free: 23.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.305, allocations: 54.3 kB / 428.9 MB, free: 23.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3051, allocations: 18.88 kB / 428.9 MB, free: 23.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.3052, allocations: 182.3 kB / 429.1 MB, free: 22.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.3052, allocations: 4.312 kB / 429.1 MB, free: 22.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3052, allocations: 1.094 kB / 429.1 MB, free: 22.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3054, allocations: 167.1 kB / 429.3 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3054, allocations: 0 / 429.3 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.3054, allocations: 1.156 kB / 429.3 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3054, allocations: 8.484 kB / 429.3 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3056, allocations: 138.7 kB / 429.4 MB, free: 22.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.3058, allocations: 313.7 kB / 429.7 MB, free: 22.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.306, allocations: 198.1 kB / 429.9 MB, free: 22.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3061, allocations: 188.2 kB / 430.1 MB, free: 22.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04758/0.3537, allocations: 28.59 MB / 458.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3538, allocations: 37.48 kB / 458.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.114e-06/0.3538, allocations: 3.281 kB / 458.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0005909/0.3544, allocations: 0.5291 MB / 459.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.3545, allocations: 60.66 kB / 459.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.3545, allocations: 104.9 kB / 459.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3546, allocations: 25.7 kB / 459.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.3546, allocations: 82.55 kB / 459.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3547, allocations: 200.3 kB / 459.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3548, allocations: 42.77 kB / 459.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3549, allocations: 334.2 kB / 460.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.355, allocations: 127.5 kB / 460.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.3551, allocations: 136.8 kB / 460.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3553, allocations: 337.5 kB / 460.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3553, allocations: 0 / 460.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002592/0.3556, allocations: 366.3 kB / 461 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3556, allocations: 5.438 kB / 461.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3556, allocations: 3.375 kB / 461.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3556, allocations: 2.312 kB / 461.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.3556, allocations: 4.578 kB / 461.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3556, allocations: 6.016 kB / 461.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3557, allocations: 21.25 kB / 461.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3558, allocations: 0 / 461.1 MB, free: 13.1 MB / 334.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 8.7e-05/0.3558, allocations: 126.8 kB / 461.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.3559, allocations: 22.03 kB / 461.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.3564, allocations: 0.7052 MB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3564, allocations: 7 kB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3564, allocations: 6.844 kB / 462 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3564, allocations: 0.8125 kB / 462 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3566, allocations: 290.4 kB / 462.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3566, allocations: 3.844 kB / 462.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.3566, allocations: 1.125 kB / 462.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3566, allocations: 0 / 462.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3566, allocations: 1.844 kB / 462.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3566, allocations: 5.641 kB / 462.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3566, allocations: 5.219 kB / 462.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3569, allocations: 316 kB / 462.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.357, allocations: 101.1 kB / 462.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.357, allocations: 7.594 kB / 462.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.3571, allocations: 0 / 462.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3571, allocations: 12.19 kB / 462.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3571, allocations: 1.641 kB / 462.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.3572, allocations: 125.4 kB / 462.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3572, allocations: 0 / 462.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002248/0.3594, allocations: 0.6882 MB / 463.5 MB, free: 12.14 MB / 334.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.003949/0.3634, allocations: 1.763 MB / 465.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.3637, allocations: 312.9 kB / 465.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3637, allocations: 0 / 465.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3638, allocations: 139.3 kB / 465.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3649, allocations: 235.2 kB / 465.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.3679, allocations: 2.534 MB / 468.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3681, allocations: 0.7337 MB / 469.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3683, allocations: 17 kB / 469.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.3683, allocations: 48.12 kB / 469.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3683, allocations: 0 / 469.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05492/0.4233, allocations: 28.41 MB / 497.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.557, allocations: 8.062 kB / 497.7 MB, free: 15.77 MB / 366.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)