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.0007921/0.0007922, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008877/0.0008878, allocations: 168.7 kB / 15.95 MB, free: 204 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.243/1.243, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04168/0.04168, allocations: 9.068 MB / 279.5 MB, free: 12.24 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.0005405/0.0005407, allocations: 20 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07839, allocations: 49.18 MB / 388.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01804/0.09647, allocations: 17.53 MB / 405.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.1037, allocations: 6.961 MB / 412.9 MB, free: 80 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1039, allocations: 3.938 kB / 412.9 MB, free: 76 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.1047, allocations: 358.6 kB / 413.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.1052, allocations: 214.7 kB / 413.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008385/0.1136, allocations: 3.401 MB / 416.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.114, allocations: 338 kB / 417.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.1141, allocations: 20.59 kB / 417.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.1144, allocations: 155.2 kB / 417.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1145, allocations: 67.67 kB / 417.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1146, allocations: 8 kB / 417.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009475/0.124, allocations: 5.799 MB / 423.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1241, allocations: 15.86 kB / 423.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1242, allocations: 69.64 kB / 423.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.1269, allocations: 1.734 MB / 425.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1269, allocations: 7.984 kB / 425.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.127, allocations: 0 / 425.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.127, allocations: 0 / 425.1 MB, free: 3.891 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.001508/0.1285, allocations: 0.7366 MB / 425.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1285, allocations: 12.03 kB / 425.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.1286, allocations: 50.53 kB / 425.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1286, allocations: 15.81 kB / 425.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1288, allocations: 178.8 kB / 426.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1288, allocations: 4 kB / 426.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1288, allocations: 4 kB / 426.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.129, allocations: 172.9 kB / 426.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1291, allocations: 4 kB / 426.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.1291, allocations: 3.984 kB / 426.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1291, allocations: 7.984 kB / 426.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1292, allocations: 132.5 kB / 426.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.1295, allocations: 307.5 kB / 426.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1297, allocations: 207 kB / 426.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1298, allocations: 193.9 kB / 427.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1883/0.3181, allocations: 27.85 MB / 454.9 MB, free: 21.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3182, allocations: 34.91 kB / 455 MB, free: 21.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 1.934e-06/0.3182, allocations: 1.969 kB / 455 MB, free: 21.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0005807/0.3188, allocations: 0.5346 MB / 455.5 MB, free: 21.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3188, allocations: 52.75 kB / 455.5 MB, free: 21.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.3189, allocations: 98.42 kB / 455.6 MB, free: 21.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.3189, allocations: 25.7 kB / 455.7 MB, free: 21.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.539e-05/0.3189, allocations: 85.97 kB / 455.8 MB, free: 21.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/0.319, allocations: 205 kB / 456 MB, free: 20.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.319, allocations: 0 / 456 MB, free: 20.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3191, allocations: 327.6 kB / 456.3 MB, free: 20.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3192, allocations: 135.7 kB / 456.4 MB, free: 20.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.3193, allocations: 136.8 kB / 456.5 MB, free: 20.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3195, allocations: 151.6 kB / 456.7 MB, free: 20.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3195, allocations: 2.719 kB / 456.7 MB, free: 20.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002922/0.3198, allocations: 361.1 kB / 457 MB, free: 20.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3198, allocations: 11.39 kB / 457.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3198, allocations: 0 / 457.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3198, allocations: 1.219 kB / 457.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3198, allocations: 0 / 457.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3198, allocations: 1.156 kB / 457.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.3199, allocations: 30.58 kB / 457.1 MB, free: 20.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3199, allocations: 1.188 kB / 457.1 MB, free: 20.17 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 7.208e-05/0.32, allocations: 128 kB / 457.2 MB, free: 20.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.32, allocations: 18.16 kB / 457.2 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.3205, allocations: 0.7088 MB / 457.9 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.3205, allocations: 14.56 kB / 458 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3205, allocations: 0 / 458 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3206, allocations: 1.641 kB / 458 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3207, allocations: 290.1 kB / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3207, allocations: 0 / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.3207, allocations: 1.406 kB / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3208, allocations: 0 / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3208, allocations: 1.078 kB / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3208, allocations: 1.281 kB / 458.2 MB, free: 19.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3208, allocations: 3.938 kB / 458.2 MB, free: 19.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.321, allocations: 319.9 kB / 458.6 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.3211, allocations: 120 kB / 458.7 MB, free: 18.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3211, allocations: 1.156 kB / 458.7 MB, free: 18.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.3212, allocations: 3.953 kB / 458.7 MB, free: 18.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.3212, allocations: 5.672 kB / 458.7 MB, free: 18.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3212, allocations: 1.562 kB / 458.7 MB, free: 18.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.3213, allocations: 113.5 kB / 458.8 MB, free: 18.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3213, allocations: 0 / 458.8 MB, free: 18.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001493/0.3228, allocations: 0.6869 MB / 459.5 MB, free: 18.71 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.002419/0.3252, allocations: 1.777 MB / 461.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3254, allocations: 302.6 kB / 461.6 MB, free: 17.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3255, allocations: 0 / 461.6 MB, free: 17.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.419e-05/0.3256, allocations: 139.6 kB / 461.7 MB, free: 17.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.3264, allocations: 181.8 kB / 461.9 MB, free: 17.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.3273, allocations: 0.7851 MB / 462.7 MB, free: 16.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3274, allocations: 0.7352 MB / 463.4 MB, free: 16.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.3275, allocations: 11.94 kB / 463.4 MB, free: 16.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.3275, allocations: 43.39 kB / 463.4 MB, free: 16.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3275, allocations: 0 / 463.4 MB, free: 16.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.3681, allocations: 26.75 MB / 490.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.3684, allocations: 183.5 kB / 490.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.759, allocations: 0 / 490.4 MB, free: 6.348 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: