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.001603/0.001603, allocations: 105.4 kB / 15.7 MB, free: 24 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.002311/0.002311, allocations: 196.9 kB / 16.64 MB, free: 6.453 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04521/0.04521, allocations: 9.085 MB / 279 MB, free: 12.1 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.001451/0.001451, allocations: 59.91 kB / 338.3 MB, free: 25.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.09016, allocations: 48.17 MB / 386.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02038/0.1106, allocations: 18.94 MB / 405.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00711/0.1177, allocations: 7.364 MB / 412.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.118, allocations: 3.938 kB / 412.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009884/0.119, allocations: 442.9 kB / 413.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.1196, allocations: 246.5 kB / 413.5 MB, free: 13.9 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.01029/0.1299, allocations: 4.207 MB / 417.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.1304, allocations: 362 kB / 418 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.1305, allocations: 28.25 kB / 418 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1307, allocations: 155.3 kB / 418.2 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1309, allocations: 75.56 kB / 418.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1309, allocations: 0 / 418.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.1438, allocations: 7.046 MB / 425.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1439, allocations: 11.88 kB / 425.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1442, allocations: 91.56 kB / 425.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1748/0.319, allocations: 3.129 MB / 428.5 MB, free: 23.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3191, allocations: 3.828 kB / 428.5 MB, free: 23.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3191, allocations: 0 / 428.5 MB, free: 23.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3191, allocations: 0 / 428.5 MB, free: 23.51 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.001819/0.3209, allocations: 0.7483 MB / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.321, allocations: 8.656 kB / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.321, allocations: 56.05 kB / 429.4 MB, free: 22.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3211, allocations: 19.05 kB / 429.4 MB, free: 22.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3212, allocations: 179.4 kB / 429.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3212, allocations: 3.75 kB / 429.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3212, allocations: 2.312 kB / 429.6 MB, free: 22.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3215, allocations: 164.1 kB / 429.7 MB, free: 22.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3215, allocations: 4.703 kB / 429.7 MB, free: 22.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.3215, allocations: 1.891 kB / 429.7 MB, free: 22.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3215, allocations: 12.28 kB / 429.7 MB, free: 22.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3217, allocations: 135.3 kB / 429.9 MB, free: 22.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.3219, allocations: 313.8 kB / 430.2 MB, free: 22.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3221, allocations: 198.6 kB / 430.4 MB, free: 22.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3223, allocations: 186 kB / 430.6 MB, free: 22.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0465/0.3688, allocations: 28.59 MB / 459.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.3688, allocations: 30.56 kB / 459.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.284e-06/0.3689, allocations: 0 / 459.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006266/0.3695, allocations: 0.5405 MB / 459.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3695, allocations: 51.41 kB / 459.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.3696, allocations: 102.5 kB / 459.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3697, allocations: 29.27 kB / 459.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.3697, allocations: 85.45 kB / 460 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.3698, allocations: 200.4 kB / 460.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3699, allocations: 43.09 kB / 460.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.37, allocations: 332.7 kB / 460.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.3701, allocations: 130.6 kB / 460.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.3702, allocations: 134.6 kB / 460.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.3704, allocations: 339.1 kB / 461.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3704, allocations: 0 / 461.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003247/0.3707, allocations: 359.1 kB / 461.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3708, allocations: 16.25 kB / 461.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3708, allocations: 1.625 kB / 461.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3708, allocations: 0 / 461.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.3708, allocations: 1.078 kB / 461.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3708, allocations: 1.438 kB / 461.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.371, allocations: 24.11 kB / 461.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.371, allocations: 1.188 kB / 461.5 MB, free: 12.88 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 0.0001095/0.3711, allocations: 127 kB / 461.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3711, allocations: 28.97 kB / 461.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.3718, allocations: 0.7073 MB / 462.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.3718, allocations: 5.609 kB / 462.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3718, allocations: 0 / 462.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3718, allocations: 1.781 kB / 462.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.3721, allocations: 289.8 kB / 462.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3721, allocations: 0 / 462.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.3722, allocations: 7.906 kB / 462.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3722, allocations: 3.938 kB / 462.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3722, allocations: 1.156 kB / 462.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3722, allocations: 5.859 kB / 462.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3722, allocations: 1.188 kB / 462.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3726, allocations: 313.1 kB / 463 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.3726, allocations: 99.64 kB / 463.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3727, allocations: 12.95 kB / 463.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/0.3727, allocations: 1.375 kB / 463.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.3728, allocations: 1.375 kB / 463.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3728, allocations: 0 / 463.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3729, allocations: 119.3 kB / 463.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3729, allocations: 5.094 kB / 463.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003547/0.3765, allocations: 0.6967 MB / 463.9 MB, free: 11.92 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.00451/0.381, allocations: 1.757 MB / 465.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3814, allocations: 303.4 kB / 466 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3814, allocations: 7.188 kB / 466 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3815, allocations: 138.1 kB / 466.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3826, allocations: 232.2 kB / 466.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.3856, allocations: 2.562 MB / 468.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.386, allocations: 0.7344 MB / 469.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3861, allocations: 16.92 kB / 469.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.3861, allocations: 50.23 kB / 469.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3861, allocations: 0 / 469.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/0.4401, allocations: 28.26 MB / 498 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.138, allocations: 8.062 kB / 498 MB, free: 15.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)