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.0009834/0.0009835, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006455/0.006455, allocations: 172 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04491/0.04491, allocations: 9.063 MB / 279.8 MB, free: 12.39 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.0004763/0.0004763, allocations: 12 kB / 339.8 MB, free: 25.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.07505, allocations: 49.19 MB / 389 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01787/0.09296, allocations: 18.64 MB / 407.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006905/0.09991, allocations: 7.556 MB / 415.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.1, allocations: 7.938 kB / 415.2 MB, free: 14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.1009, allocations: 391.3 kB / 415.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1014, allocations: 230.7 kB / 415.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008081/0.1095, allocations: 3.554 MB / 419.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1098, allocations: 346 kB / 419.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.1099, allocations: 24.3 kB / 419.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1101, allocations: 155.2 kB / 419.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1103, allocations: 83.53 kB / 420 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1103, allocations: 0 / 420 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008813/0.1191, allocations: 6.404 MB / 426.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.1191, allocations: 15.88 kB / 426.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1193, allocations: 125.2 kB / 426.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1551/0.2744, allocations: 3.003 MB / 429.5 MB, free: 22.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2744, allocations: 0 / 429.5 MB, free: 22.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2744, allocations: 1.25 kB / 429.5 MB, free: 22.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.2744, allocations: 3 kB / 429.5 MB, free: 22.5 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.001318/0.2758, allocations: 0.7453 MB / 430.3 MB, free: 21.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2758, allocations: 9.688 kB / 430.3 MB, free: 21.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.2759, allocations: 51.39 kB / 430.3 MB, free: 21.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2759, allocations: 19.95 kB / 430.4 MB, free: 21.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.276, allocations: 183.5 kB / 430.5 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.276, allocations: 5.906 kB / 430.5 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.276, allocations: 1.094 kB / 430.6 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.2763, allocations: 165 kB / 430.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2763, allocations: 1.062 kB / 430.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2763, allocations: 0.6875 kB / 430.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2763, allocations: 11.09 kB / 430.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2765, allocations: 135.9 kB / 430.9 MB, free: 21.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.2767, allocations: 314.4 kB / 431.2 MB, free: 21.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2769, allocations: 201.6 kB / 431.4 MB, free: 21.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.277, allocations: 184.2 kB / 431.5 MB, free: 21.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04169/0.3187, allocations: 27.87 MB / 459.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3188, allocations: 30.56 kB / 459.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 3.386e-06/0.3188, allocations: 1.078 kB / 459.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.000648/0.3194, allocations: 0.5379 MB / 460 MB, free: 12.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3195, allocations: 54.03 kB / 460 MB, free: 12.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.3196, allocations: 106.1 kB / 460.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3196, allocations: 25.7 kB / 460.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.3196, allocations: 86.7 kB / 460.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3197, allocations: 196.9 kB / 460.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3198, allocations: 35.94 kB / 460.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3199, allocations: 333 kB / 460.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.32, allocations: 135.5 kB / 460.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3201, allocations: 136.8 kB / 461.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3204, allocations: 332.7 kB / 461.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3204, allocations: 0 / 461.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003282/0.3208, allocations: 360.7 kB / 461.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3208, allocations: 8.594 kB / 461.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3208, allocations: 0 / 461.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3208, allocations: 0 / 461.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.3208, allocations: 4.438 kB / 461.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3208, allocations: 3.938 kB / 461.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.3209, allocations: 25.41 kB / 461.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3209, allocations: 5.969 kB / 461.8 MB, free: 12.01 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.0001082/0.3211, allocations: 128.6 kB / 461.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.3211, allocations: 20.06 kB / 461.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.3215, allocations: 0.7113 MB / 462.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.3216, allocations: 4.688 kB / 462.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3216, allocations: 7.281 kB / 462.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3216, allocations: 3.797 kB / 462.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.3218, allocations: 284.7 kB / 462.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3218, allocations: 1.188 kB / 462.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/0.3218, allocations: 2.375 kB / 462.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3218, allocations: 3.344 kB / 462.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3218, allocations: 7.875 kB / 463 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3219, allocations: 0 / 463 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3219, allocations: 3.938 kB / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3221, allocations: 315.7 kB / 463.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.3222, allocations: 125.6 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3222, allocations: 0 / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.3223, allocations: 3.531 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.3223, allocations: 3.938 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3223, allocations: 4 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.3224, allocations: 116.9 kB / 463.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3224, allocations: 0 / 463.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001476/0.3239, allocations: 0.6896 MB / 464.2 MB, free: 11.07 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.003262/0.3271, allocations: 1.767 MB / 466 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.3274, allocations: 302.9 kB / 466.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3274, allocations: 4 kB / 466.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.3275, allocations: 139.3 kB / 466.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3287, allocations: 229.5 kB / 466.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.331, allocations: 2.623 MB / 469.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3313, allocations: 0.7364 MB / 470 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3314, allocations: 16.33 kB / 470 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.3315, allocations: 48.14 kB / 470.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3315, allocations: 0 / 470.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.3772, allocations: 27.94 MB / 498 MB, free: 60 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.3774, allocations: 201.4 kB / 498.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/2.928, allocations: 0 / 498.2 MB, free: 15.8 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)