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.004889/0.004889, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001242/0.001242, allocations: 194.8 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.379/1.379, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04937/0.04937, allocations: 9.105 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.001989/0.001989, allocations: 75.84 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.24, allocations: 48.16 MB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01921/0.2592, allocations: 18.93 MB / 454.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.267, allocations: 7.383 MB / 461.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.2673, allocations: 2.312 kB / 461.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2684, allocations: 440.1 kB / 461.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.269, allocations: 248.2 kB / 462.1 MB, free: 2.641 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.01139/0.2804, allocations: 4.211 MB / 466.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.2809, allocations: 362.3 kB / 466.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.2809, allocations: 20.06 kB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2812, allocations: 154.8 kB / 466.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2813, allocations: 76.92 kB / 466.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2814, allocations: 1.375 kB / 466.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.2934, allocations: 7.039 MB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2935, allocations: 15.86 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.2938, allocations: 99.5 kB / 474.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006882/0.3006, allocations: 3.141 MB / 477.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3007, allocations: 0 / 477.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3007, allocations: 0 / 477.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3007, allocations: 0 / 477.2 MB, free: 6.598 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.00126/0.302, allocations: 0.765 MB / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.302, allocations: 12.03 kB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.3021, allocations: 54.47 kB / 478 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.3021, allocations: 23.86 kB / 478.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3023, allocations: 182.8 kB / 478.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3023, allocations: 7.875 kB / 478.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3023, allocations: 8 kB / 478.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3026, allocations: 169 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3026, allocations: 0 / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.3026, allocations: 0 / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.3026, allocations: 7.984 kB / 478.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3028, allocations: 132.5 kB / 478.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.3031, allocations: 315.7 kB / 478.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3033, allocations: 203 kB / 479.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.3035, allocations: 189.9 kB / 479.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05151/0.355, allocations: 28.59 MB / 0.4959 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3551, allocations: 38.56 kB / 0.496 GB, free: 2.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.783e-06/0.3551, allocations: 0 / 0.496 GB, free: 2.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007335/0.3558, allocations: 0.5261 MB / 0.4965 GB, free: 2.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3559, allocations: 55.41 kB / 0.4965 GB, free: 2.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.356, allocations: 109.8 kB / 0.4966 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.356, allocations: 25.7 kB / 0.4967 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.3561, allocations: 85.45 kB / 0.4968 GB, free: 2.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3562, allocations: 202.1 kB / 0.4969 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.3563, allocations: 45.69 kB / 0.497 GB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3565, allocations: 338.8 kB / 0.4973 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3566, allocations: 128.5 kB / 0.4974 GB, free: 1.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3568, allocations: 130.7 kB / 0.4976 GB, free: 1.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3571, allocations: 336.3 kB / 0.4979 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3571, allocations: 0 / 0.4979 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000399/0.3575, allocations: 370 kB / 0.4982 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3575, allocations: 8 kB / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3576, allocations: 0 / 0.4982 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3576, allocations: 4 kB / 0.4982 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3576, allocations: 3.938 kB / 0.4983 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3576, allocations: 0 / 0.4983 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.3577, allocations: 23.73 kB / 0.4983 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3577, allocations: 3.938 kB / 0.4983 GB, free: 0.5312 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.0001116/0.3578, allocations: 129.8 kB / 0.4984 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3578, allocations: 19.86 kB / 0.4984 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/0.3586, allocations: 0.7112 MB / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3586, allocations: 3.906 kB / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3586, allocations: 0 / 0.4991 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3586, allocations: 4 kB / 0.4991 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3589, allocations: 289.7 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3589, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.3589, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3589, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3589, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3589, allocations: 7.938 kB / 0.4994 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3589, allocations: 3.938 kB / 0.4994 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3593, allocations: 325.5 kB / 0.4997 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.3594, allocations: 104.9 kB / 0.4998 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3594, allocations: 11.89 kB / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.3595, allocations: 0 / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.3595, allocations: 0 / 0.4998 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3595, allocations: 3.984 kB / 0.4998 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.3596, allocations: 122.5 kB / 0.5 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3596, allocations: 0 / 0.5 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00174/0.3614, allocations: 0.705 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.003803/0.3652, allocations: 1.767 MB / 0.5024 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3656, allocations: 307.4 kB / 0.5027 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3656, allocations: 0 / 0.5027 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3657, allocations: 152.3 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.001212/0.367, allocations: 223.6 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.003153/0.3701, allocations: 2.578 MB / 0.5055 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3705, allocations: 0.7369 MB / 0.5063 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3706, allocations: 12.44 kB / 0.5063 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.3707, allocations: 47.36 kB / 0.5063 GB, free: 8.008 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3707, allocations: 4 kB / 0.5063 GB, free: 8.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06397/0.4347, allocations: 28.32 MB / 0.534 GB, free: 11.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.182, allocations: 3.984 kB / 0.534 GB, free: 11.67 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 & /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)