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.001575/0.001576, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001498/0.001498, allocations: 188 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.918 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04323/0.04324, allocations: 9.076 MB / 278.5 MB, free: 12.59 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.001334/0.001334, allocations: 63.84 kB / 337.6 MB, free: 25.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07851/0.07986, allocations: 48.15 MB / 385.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01925/0.09915, allocations: 18.92 MB / 404.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00827/0.1075, allocations: 7.4 MB / 412.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1077, allocations: 4 kB / 412.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1088, allocations: 407.3 kB / 412.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006535/0.1095, allocations: 230.7 kB / 412.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009939/0.1195, allocations: 3.824 MB / 416.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.1199, allocations: 358 kB / 416.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.12, allocations: 20.31 kB / 416.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1203, allocations: 171.2 kB / 417.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1204, allocations: 75.62 kB / 417.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1204, allocations: 0 / 417.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.131, allocations: 6.869 MB / 424 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.1311, allocations: 11.88 kB / 424 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.1313, allocations: 103.5 kB / 424.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1716/0.3029, allocations: 3.149 MB / 427.3 MB, free: 24.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.303, allocations: 1.281 kB / 427.3 MB, free: 24.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.303, allocations: 0 / 427.3 MB, free: 24.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.303, allocations: 0 / 427.3 MB, free: 24.17 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.001562/0.3046, allocations: 0.7558 MB / 428.1 MB, free: 23.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3046, allocations: 9.844 kB / 428.1 MB, free: 23.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.3047, allocations: 56.16 kB / 428.1 MB, free: 23.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.3047, allocations: 18.53 kB / 428.1 MB, free: 23.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3048, allocations: 181.4 kB / 428.3 MB, free: 23.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3048, allocations: 11.12 kB / 428.3 MB, free: 23.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3049, allocations: 1.219 kB / 428.3 MB, free: 23.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3051, allocations: 163.4 kB / 428.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3051, allocations: 0 / 428.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.3051, allocations: 1.375 kB / 428.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3051, allocations: 9.484 kB / 428.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3052, allocations: 136.7 kB / 428.6 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.3055, allocations: 314.3 kB / 428.9 MB, free: 23.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3056, allocations: 196.5 kB / 429.1 MB, free: 23.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3058, allocations: 186.7 kB / 429.3 MB, free: 23.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04638/0.3522, allocations: 28.6 MB / 457.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3522, allocations: 32 kB / 457.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.355e-06/0.3522, allocations: 0 / 457.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0005924/0.3528, allocations: 0.538 MB / 458.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3529, allocations: 51.41 kB / 458.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.353, allocations: 97.75 kB / 458.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.353, allocations: 25.7 kB / 458.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.353, allocations: 81.45 kB / 458.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.3531, allocations: 202.6 kB / 458.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3532, allocations: 42.97 kB / 459 MB, free: 14.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3533, allocations: 337.8 kB / 459.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.3534, allocations: 136 kB / 459.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.3534, allocations: 138.5 kB / 459.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3537, allocations: 329 kB / 459.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3537, allocations: 0.7656 kB / 459.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002999/0.354, allocations: 363.8 kB / 460.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.354, allocations: 6.406 kB / 460.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.354, allocations: 0 / 460.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.354, allocations: 0 / 460.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3541, allocations: 2.625 kB / 460.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3541, allocations: 2.938 kB / 460.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3542, allocations: 24.19 kB / 460.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3542, allocations: 6.844 kB / 460.3 MB, free: 13.59 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.0001006/0.3543, allocations: 130.2 kB / 460.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3543, allocations: 19.94 kB / 460.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.3548, allocations: 0.7061 MB / 461.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3548, allocations: 8.234 kB / 461.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3548, allocations: 8.234 kB / 461.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3548, allocations: 0 / 461.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.355, allocations: 290.7 kB / 461.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.355, allocations: 0 / 461.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.355, allocations: 0 / 461.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.355, allocations: 6.75 kB / 461.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3551, allocations: 0 / 461.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3551, allocations: 0.7656 kB / 461.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3551, allocations: 0 / 461.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3553, allocations: 317.6 kB / 461.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3554, allocations: 112.7 kB / 461.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3554, allocations: 5.5 kB / 461.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.3555, allocations: 0 / 461.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.3555, allocations: 8.719 kB / 461.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3555, allocations: 1.625 kB / 461.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.641e-05/0.3556, allocations: 120.3 kB / 462 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3556, allocations: 0 / 462 MB, free: 12.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001657/0.3573, allocations: 0.6906 MB / 462.7 MB, free: 12.64 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.002858/0.3601, allocations: 1.764 MB / 464.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3604, allocations: 313.8 kB / 464.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3604, allocations: 0 / 464.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.3605, allocations: 138.3 kB / 464.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3615, allocations: 236.3 kB / 465.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3637, allocations: 2.619 MB / 467.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.364, allocations: 0.7317 MB / 468.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.3641, allocations: 14.02 kB / 468.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.3641, allocations: 47.59 kB / 468.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3642, allocations: 0 / 468.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.4668, allocations: 28.28 MB / 496.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.4671, allocations: 211.1 kB / 497 MB, free: 440 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.153, allocations: 3.516 kB / 497 MB, free: 440 kB / 350.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)