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.0009167/0.0009166, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009167/0.0009169, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04148/0.04148, allocations: 9.058 MB / 279.4 MB, free: 12.15 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.0004568/0.000457, allocations: 12 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07712, allocations: 49.17 MB / 388.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01721/0.09438, allocations: 15.79 MB / 404.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.1008, allocations: 6.507 MB / 410.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1009, allocations: 4 kB / 410.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.1019, allocations: 370.7 kB / 411 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.1024, allocations: 239.4 kB / 411.3 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008694/0.1111, allocations: 3.462 MB / 414.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.1115, allocations: 259.4 kB / 415 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.1115, allocations: 16.59 kB / 415 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.1119, allocations: 191.3 kB / 415.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.112, allocations: 71.66 kB / 415.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.112, allocations: 4 kB / 415.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.1223, allocations: 6.4 MB / 421.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.1224, allocations: 7.875 kB / 421.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.1225, allocations: 73.58 kB / 421.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.125, allocations: 1.665 MB / 423.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.125, allocations: 0 / 423.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.125, allocations: 3.938 kB / 423.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1251, allocations: 0 / 423.4 MB, free: 5.551 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.0009804/0.126, allocations: 0.7328 MB / 424.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1261, allocations: 8.031 kB / 424.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1261, allocations: 50.55 kB / 424.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1262, allocations: 19.8 kB / 424.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1263, allocations: 182.8 kB / 424.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1263, allocations: 0 / 424.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.1263, allocations: 0 / 424.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1265, allocations: 172.9 kB / 424.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1265, allocations: 7.922 kB / 424.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1266, allocations: 0 / 424.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1266, allocations: 19.97 kB / 424.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1267, allocations: 128.5 kB / 424.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.127, allocations: 307.6 kB / 425 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1271, allocations: 203 kB / 425.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1885/0.3157, allocations: 27.95 MB / 453.2 MB, free: 23.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3157, allocations: 34.47 kB / 453.2 MB, free: 23.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 2.204e-06/0.3157, allocations: 0.6875 kB / 453.2 MB, free: 23.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0009932/0.3167, allocations: 0.8754 MB / 454.1 MB, free: 22.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3168, allocations: 56.77 kB / 454.1 MB, free: 22.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.3169, allocations: 104.2 kB / 454.2 MB, free: 22.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3169, allocations: 29.7 kB / 454.3 MB, free: 22.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.3169, allocations: 85.44 kB / 454.3 MB, free: 22.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.317, allocations: 195.9 kB / 454.5 MB, free: 22.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.317, allocations: 5.344 kB / 454.5 MB, free: 22.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.3171, allocations: 329.3 kB / 454.9 MB, free: 22.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3172, allocations: 130.5 kB / 455 MB, free: 22.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3173, allocations: 135 kB / 455.1 MB, free: 21.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3175, allocations: 159.5 kB / 455.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3175, allocations: 1.375 kB / 455.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003438/0.3179, allocations: 357.8 kB / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3179, allocations: 9.406 kB / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3179, allocations: 5.234 kB / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3179, allocations: 3.75 kB / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.3179, allocations: 0 / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3179, allocations: 1.188 kB / 455.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.318, allocations: 30.06 kB / 455.7 MB, free: 21.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3181, allocations: 5.234 kB / 455.7 MB, free: 21.61 MB / 318.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.liq.phase,sat.vap.phase,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 initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.3182, allocations: 128 kB / 455.8 MB, free: 21.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3182, allocations: 14.12 kB / 455.8 MB, free: 21.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.3188, allocations: 0.7016 MB / 456.5 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.3188, allocations: 21.08 kB / 456.5 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3189, allocations: 1.469 kB / 456.5 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3189, allocations: 0 / 456.5 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.319, allocations: 282.8 kB / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.319, allocations: 0 / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.319, allocations: 2.625 kB / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3191, allocations: 0.8438 kB / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3191, allocations: 5.719 kB / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3191, allocations: 0 / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3191, allocations: 3.312 kB / 456.8 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3193, allocations: 315.3 kB / 457.1 MB, free: 20.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.3194, allocations: 125.6 kB / 457.3 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3194, allocations: 1.031 kB / 457.3 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.3195, allocations: 1.125 kB / 457.3 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.3195, allocations: 12.06 kB / 457.3 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3195, allocations: 3.531 kB / 457.3 MB, free: 20.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.3196, allocations: 119.2 kB / 457.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3196, allocations: 0 / 457.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001759/0.3214, allocations: 0.687 MB / 458.1 MB, free: 20.16 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/0.3238, allocations: 1.769 MB / 459.8 MB, free: 19.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3241, allocations: 301.1 kB / 460.1 MB, free: 19.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3241, allocations: 0 / 460.1 MB, free: 19.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.3242, allocations: 146.5 kB / 460.3 MB, free: 18.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.325, allocations: 176.5 kB / 460.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.326, allocations: 0.7726 MB / 461.2 MB, free: 18.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.3262, allocations: 0.7434 MB / 462 MB, free: 17.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.3263, allocations: 10.8 kB / 462 MB, free: 17.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.3263, allocations: 46.61 kB / 462 MB, free: 17.51 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3263, allocations: 0 / 462 MB, free: 17.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3657, allocations: 26.74 MB / 488.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.3659, allocations: 193.4 kB / 489 MB, free: 7.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.739, allocations: 3.938 kB / 489 MB, free: 7.93 MB / 334.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/linux/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) Environment - environmentSimulation: