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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001268/0.001268, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04448/0.04448, allocations: 9.09 MB / 278.4 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.002309/0.002309, allocations: 67.84 kB / 337.4 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1037, allocations: 48.15 MB / 385.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02226/0.126, allocations: 19.17 MB / 404.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008981/0.135, allocations: 7.638 MB / 412.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.1352, allocations: 0 / 412.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009905/0.1363, allocations: 395.2 kB / 412.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.1369, allocations: 230.7 kB / 413 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009612/0.1465, allocations: 3.545 MB / 416.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.1469, allocations: 354 kB / 416.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.147, allocations: 16.31 kB / 416.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.1474, allocations: 151.2 kB / 417.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1475, allocations: 83.61 kB / 417.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1475, allocations: 0 / 417.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.1581, allocations: 6.412 MB / 423.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.1582, allocations: 11.88 kB / 423.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.1584, allocations: 95.56 kB / 423.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006782/0.1652, allocations: 3.021 MB / 426.7 MB, free: 376 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1652, allocations: 4 kB / 426.7 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1652, allocations: 0 / 426.7 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1652, allocations: 0 / 426.7 MB, free: 372 kB / 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.169/0.3342, allocations: 0.7414 MB / 427.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3343, allocations: 9.5 kB / 427.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.3343, allocations: 56.59 kB / 427.5 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3344, allocations: 19.12 kB / 427.5 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.3345, allocations: 180.9 kB / 427.7 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3345, allocations: 3.812 kB / 427.7 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.3345, allocations: 1.094 kB / 427.7 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3347, allocations: 166.5 kB / 427.9 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3347, allocations: 3.938 kB / 427.9 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.3348, allocations: 0 / 427.9 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.3348, allocations: 15.56 kB / 427.9 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3349, allocations: 136.6 kB / 428 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.3352, allocations: 306.7 kB / 428.3 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3353, allocations: 197.3 kB / 428.5 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3355, allocations: 187.1 kB / 428.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04517/0.3807, allocations: 28.6 MB / 457.3 MB, free: 20.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3808, allocations: 36.5 kB / 457.3 MB, free: 20.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 2.094e-06/0.3808, allocations: 4.875 kB / 457.3 MB, free: 20.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007177/0.3815, allocations: 0.5349 MB / 457.9 MB, free: 19.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3815, allocations: 52.34 kB / 457.9 MB, free: 19.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.3816, allocations: 98.67 kB / 458 MB, free: 19.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.3816, allocations: 25.7 kB / 458 MB, free: 19.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.848e-05/0.3816, allocations: 82.23 kB / 458.1 MB, free: 19.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3818, allocations: 203.6 kB / 458.3 MB, free: 19.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.3818, allocations: 42.05 kB / 458.4 MB, free: 19.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.3819, allocations: 332 kB / 458.7 MB, free: 19.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.382, allocations: 132.9 kB / 458.8 MB, free: 19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3822, allocations: 137.1 kB / 458.9 MB, free: 18.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3825, allocations: 329.1 kB / 459.3 MB, free: 18.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3825, allocations: 0 / 459.3 MB, free: 18.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003066/0.3828, allocations: 368.2 kB / 459.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3828, allocations: 5.344 kB / 459.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3828, allocations: 4 kB / 459.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3828, allocations: 5.906 kB / 459.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.3828, allocations: 0 / 459.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3829, allocations: 0 / 459.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.3829, allocations: 27.19 kB / 459.7 MB, free: 18.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.383, allocations: 4 kB / 459.7 MB, free: 18.49 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_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 9.167e-05/0.383, allocations: 133.3 kB / 459.8 MB, free: 18.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3831, allocations: 19.52 kB / 459.8 MB, free: 18.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/0.3837, allocations: 0.7066 MB / 460.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3837, allocations: 10.53 kB / 460.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3838, allocations: 4 kB / 460.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3838, allocations: 2.531 kB / 460.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.384, allocations: 290.1 kB / 460.8 MB, free: 17.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.384, allocations: 0 / 460.8 MB, free: 17.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.384, allocations: 0 / 460.8 MB, free: 17.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.384, allocations: 5.203 kB / 460.8 MB, free: 17.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.384, allocations: 2.438 kB / 460.8 MB, free: 17.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.384, allocations: 1.562 kB / 460.8 MB, free: 17.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.384, allocations: 0 / 460.8 MB, free: 17.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.3843, allocations: 321.5 kB / 461.2 MB, free: 17.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3844, allocations: 102.6 kB / 461.3 MB, free: 17.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.3844, allocations: 11.06 kB / 461.3 MB, free: 17.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.3845, allocations: 4.812 kB / 461.3 MB, free: 17.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.3845, allocations: 1.406 kB / 461.3 MB, free: 17.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.3845, allocations: 1.469 kB / 461.3 MB, free: 17.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.767e-05/0.3846, allocations: 118.8 kB / 461.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3846, allocations: 0 / 461.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001922/0.3865, allocations: 0.6875 MB / 462.1 MB, free: 17 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 (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.00259/0.3891, allocations: 1.776 MB / 463.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3894, allocations: 299.8 kB / 464.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3894, allocations: 0 / 464.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.3895, allocations: 143.4 kB / 464.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3906, allocations: 229 kB / 464.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3925, allocations: 2.601 MB / 467.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3926, allocations: 0.7371 MB / 467.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.793e-05/0.3927, allocations: 8 kB / 467.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3928, allocations: 59.41 kB / 467.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3928, allocations: 0 / 467.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.4353, allocations: 28.01 MB / 495.9 MB, free: 340 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.4355, allocations: 198.7 kB / 496.1 MB, free: 84 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.019, allocations: 4 kB / 496.1 MB, free: 80 kB / 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/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)