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.004902/0.004902, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.00117/0.00117, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.297/1.297, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04562/0.04562, allocations: 9.104 MB / 279 MB, free: 11.95 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.001589/0.001589, allocations: 74.5 kB / 387 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2288, allocations: 48.15 MB / 435.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0185/0.2473, allocations: 18.95 MB / 454 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006839/0.2542, allocations: 7.384 MB / 461.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2543, allocations: 2.312 kB / 461.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.2554, allocations: 440.4 kB / 461.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.2559, allocations: 244.7 kB / 462.1 MB, free: 2.664 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.0102/0.2661, allocations: 4.208 MB / 466.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.2666, allocations: 359 kB / 466.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.591e-05/0.2667, allocations: 27.19 kB / 466.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.267, allocations: 154.1 kB / 466.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2671, allocations: 79.02 kB / 466.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.2671, allocations: 0 / 466.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.2782, allocations: 7.045 MB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2782, allocations: 11.88 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2785, allocations: 99.48 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00636/0.2848, allocations: 3.126 MB / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2848, allocations: 0 / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2849, allocations: 0 / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2849, allocations: 4 kB / 477.2 MB, free: 6.645 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.001151/0.286, allocations: 0.7445 MB / 477.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2861, allocations: 8.031 kB / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.2861, allocations: 54.53 kB / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.2862, allocations: 23.72 kB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2863, allocations: 178.8 kB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2863, allocations: 3.938 kB / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2863, allocations: 7.922 kB / 478.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.2866, allocations: 173 kB / 478.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2866, allocations: 3.938 kB / 478.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2866, allocations: 4 kB / 478.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.2866, allocations: 3.984 kB / 478.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2867, allocations: 136.5 kB / 478.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.287, allocations: 319.5 kB / 478.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2872, allocations: 195.1 kB / 479 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.2874, allocations: 185.9 kB / 479.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04839/0.3358, allocations: 28.59 MB / 0.4959 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3358, allocations: 34.56 kB / 0.4959 GB, free: 3.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.224e-06/0.3358, allocations: 0 / 0.4959 GB, free: 3.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006229/0.3365, allocations: 0.5338 MB / 0.4965 GB, free: 2.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3365, allocations: 51.41 kB / 0.4965 GB, free: 2.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3366, allocations: 101.8 kB / 0.4966 GB, free: 2.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3366, allocations: 25.7 kB / 0.4966 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.3366, allocations: 89.39 kB / 0.4967 GB, free: 2.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3368, allocations: 197 kB / 0.4969 GB, free: 2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.3369, allocations: 45.69 kB / 0.4969 GB, free: 1.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.337, allocations: 334.8 kB / 0.4973 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3371, allocations: 132.5 kB / 0.4974 GB, free: 1.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3372, allocations: 130.7 kB / 0.4975 GB, free: 1.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3375, allocations: 340.2 kB / 0.4978 GB, free: 1.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3375, allocations: 0 / 0.4978 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003338/0.3378, allocations: 370 kB / 0.4982 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3379, allocations: 4 kB / 0.4982 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3379, allocations: 0 / 0.4982 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3379, allocations: 0 / 0.4982 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.3379, allocations: 0 / 0.4982 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3379, allocations: 3.938 kB / 0.4982 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.338, allocations: 19.69 kB / 0.4982 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.338, allocations: 7.938 kB / 0.4982 GB, free: 0.6172 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.0001066/0.3381, allocations: 130.1 kB / 0.4983 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.3382, allocations: 23.72 kB / 0.4984 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/0.3388, allocations: 0.6993 MB / 0.4991 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.3388, allocations: 11.98 kB / 0.4991 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3388, allocations: 0 / 0.4991 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3388, allocations: 0 / 0.4991 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.339, allocations: 293.5 kB / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3391, allocations: 0 / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.3391, allocations: 0 / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3391, allocations: 4 kB / 0.4993 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3391, allocations: 3.938 kB / 0.4994 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3391, allocations: 4 kB / 0.4994 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3391, allocations: 3.938 kB / 0.4994 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3394, allocations: 321.4 kB / 0.4997 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.3395, allocations: 100.9 kB / 0.4998 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3395, allocations: 3.938 kB / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.3396, allocations: 0 / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3396, allocations: 7.984 kB / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3396, allocations: 0 / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.3397, allocations: 122.5 kB / 0.4999 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3397, allocations: 0 / 0.4999 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001637/0.3413, allocations: 0.6872 MB / 0.5006 GB, free: 14.07 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.003408/0.3447, allocations: 1.765 MB / 0.5023 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.3451, allocations: 307.4 kB / 0.5026 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3451, allocations: 4 kB / 0.5026 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3452, allocations: 132.4 kB / 0.5027 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3464, allocations: 231.5 kB / 0.5029 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3492, allocations: 2.564 MB / 0.5054 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3494, allocations: 0.7407 MB / 0.5062 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.3495, allocations: 12.66 kB / 0.5062 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.3496, allocations: 47.42 kB / 0.5062 GB, free: 8.145 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3496, allocations: 0 / 0.5062 GB, free: 8.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05308/0.4027, allocations: 28.42 MB / 0.534 GB, free: 11.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.881, allocations: 8.062 kB / 0.534 GB, free: 11.7 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)