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: translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001367/0.001368, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04641/0.04641, allocations: 9.084 MB / 279.6 MB, free: 2.98 MB / 222.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.001465/0.001465, allocations: 68.45 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1989, allocations: 48.15 MB / 387.6 MB, free: 51.47 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01688/0.2158, allocations: 18.95 MB / 406.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.2212, allocations: 7.38 MB / 414 MB, free: 31.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2213, allocations: 2.25 kB / 414 MB, free: 31.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.2221, allocations: 432.2 kB / 414.4 MB, free: 31.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.2226, allocations: 252.4 kB / 414.6 MB, free: 30.87 MB / 318.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.008656/0.2312, allocations: 4.199 MB / 418.8 MB, free: 28.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.2315, allocations: 363 kB / 419.2 MB, free: 27.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.2316, allocations: 20.31 kB / 419.2 MB, free: 27.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.2318, allocations: 167.2 kB / 419.4 MB, free: 27.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.2319, allocations: 83.55 kB / 419.4 MB, free: 27.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.2319, allocations: 0 / 419.4 MB, free: 27.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007793/0.2397, allocations: 7.034 MB / 426.5 MB, free: 20.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2397, allocations: 15.88 kB / 426.5 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.2398, allocations: 91.56 kB / 426.6 MB, free: 20.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.244, allocations: 3.13 MB / 429.7 MB, free: 17.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.244, allocations: 4 kB / 429.7 MB, free: 17.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.244, allocations: 0 / 429.7 MB, free: 17.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2441, allocations: 4 kB / 429.7 MB, free: 17.3 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.001119/0.2452, allocations: 0.7528 MB / 430.5 MB, free: 16.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2452, allocations: 8.031 kB / 430.5 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2453, allocations: 15.81 kB / 430.5 MB, free: 16.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.2454, allocations: 182.8 kB / 430.7 MB, free: 16.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2454, allocations: 7.938 kB / 430.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2454, allocations: 0 / 430.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2456, allocations: 165 kB / 430.8 MB, free: 16.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2456, allocations: 4 kB / 430.9 MB, free: 16.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2456, allocations: 0 / 430.9 MB, free: 16.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2456, allocations: 15.97 kB / 430.9 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.2457, allocations: 128.4 kB / 431 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.2459, allocations: 313.8 kB / 431.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2461, allocations: 203 kB / 431.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.2462, allocations: 189.9 kB / 431.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04384/0.29, allocations: 28.58 MB / 460.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2901, allocations: 34.56 kB / 460.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=64): time 1.793e-06/0.2901, allocations: 0 / 460.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006086/0.2907, allocations: 0.5415 MB / 460.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.2907, allocations: 59.41 kB / 460.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.2908, allocations: 101.9 kB / 461 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2908, allocations: 25.7 kB / 461 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.2909, allocations: 81.45 kB / 461.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.291, allocations: 204.8 kB / 461.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.291, allocations: 37.7 kB / 461.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2911, allocations: 342.8 kB / 461.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2913, allocations: 132.5 kB / 461.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2914, allocations: 138.7 kB / 461.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.2917, allocations: 336.2 kB / 462.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2917, allocations: 3.984 kB / 462.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003272/0.292, allocations: 362 kB / 462.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.292, allocations: 4.781 kB / 462.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2921, allocations: 4 kB / 462.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2921, allocations: 0 / 462.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.2921, allocations: 0 / 462.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2921, allocations: 0 / 462.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.2922, allocations: 19.69 kB / 462.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2922, allocations: 4 kB / 462.6 MB, free: 11.34 MB / 350.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 8.817e-05/0.2923, allocations: 133.8 kB / 462.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.2923, allocations: 15.72 kB / 462.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.2929, allocations: 0.7032 MB / 463.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.2929, allocations: 15.91 kB / 463.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2929, allocations: 0 / 463.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2929, allocations: 0 / 463.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.2931, allocations: 287.2 kB / 463.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2931, allocations: 7.938 kB / 463.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.2932, allocations: 3.984 kB / 463.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2932, allocations: 0 / 463.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.2932, allocations: 0 / 463.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2932, allocations: 0 / 463.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2932, allocations: 4 kB / 463.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.2935, allocations: 329.3 kB / 464.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.2935, allocations: 96.84 kB / 464.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2936, allocations: 11.94 kB / 464.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.2936, allocations: 0 / 464.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.2937, allocations: 5.062 kB / 464.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2937, allocations: 0 / 464.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.2937, allocations: 116.6 kB / 464.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2938, allocations: 0 / 464.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001506/0.2953, allocations: 0.6949 MB / 465.1 MB, free: 8.785 MB / 350.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.002278/0.2975, allocations: 1.011 MB / 466.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.2979, allocations: 303.4 kB / 466.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2979, allocations: 4 kB / 466.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.298, allocations: 144.4 kB / 466.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.299, allocations: 224.5 kB / 466.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.2996, allocations: 426.3 kB / 467.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2998, allocations: 0.7329 MB / 467.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.853e-05/0.2999, allocations: 8.438 kB / 467.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.2999, allocations: 15.44 kB / 467.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2999, allocations: 0 / 467.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Templates: time 0.03278/0.3327, allocations: 25.38 MB / 493.3 MB, free: 12.58 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)