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.0007688/0.0007688, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004618/0.004618, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.302/1.302, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04562/0.04562, allocations: 9.078 MB / 279.8 MB, free: 12.13 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.0004855/0.0004857, allocations: 16.64 kB / 339.7 MB, free: 25.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07025/0.07075, allocations: 49.19 MB / 388.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01866/0.08944, allocations: 18.64 MB / 407.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.09649, allocations: 7.545 MB / 415.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.09664, allocations: 7.938 kB / 415.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.09752, allocations: 403.2 kB / 415.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.09801, allocations: 222.7 kB / 415.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008791/0.1068, allocations: 3.567 MB / 419.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.1072, allocations: 350 kB / 419.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.1073, allocations: 24.31 kB / 419.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1076, allocations: 155.2 kB / 419.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1077, allocations: 83.55 kB / 419.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.1077, allocations: 0 / 419.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009998/0.1177, allocations: 6.392 MB / 426.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1178, allocations: 19.86 kB / 426.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.118, allocations: 125.3 kB / 426.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1616/0.2795, allocations: 3.007 MB / 429.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2796, allocations: 3.125 kB / 429.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.2796, allocations: 1.375 kB / 429.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2796, allocations: 0 / 429.4 MB, free: 23.14 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.001531/0.2812, allocations: 0.7327 MB / 430.2 MB, free: 22.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2812, allocations: 13.84 kB / 430.2 MB, free: 22.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.2813, allocations: 17.5 kB / 430.2 MB, free: 22.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2814, allocations: 179.6 kB / 430.4 MB, free: 22.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2814, allocations: 8.609 kB / 430.4 MB, free: 22.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2814, allocations: 1.312 kB / 430.4 MB, free: 22.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2817, allocations: 167.9 kB / 430.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2817, allocations: 1.031 kB / 430.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2817, allocations: 0.5 kB / 430.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2817, allocations: 11.25 kB / 430.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2819, allocations: 133.9 kB / 430.7 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.2821, allocations: 309.7 kB / 431 MB, free: 22.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2823, allocations: 201.9 kB / 431.2 MB, free: 22.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2825, allocations: 185 kB / 431.4 MB, free: 22.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0447/0.3272, allocations: 27.88 MB / 459.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3272, allocations: 32.88 kB / 459.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.214e-06/0.3272, allocations: 0 / 459.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006389/0.3279, allocations: 0.5375 MB / 459.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3279, allocations: 52.66 kB / 459.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.328, allocations: 100.9 kB / 460 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.328, allocations: 25.7 kB / 460 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.3281, allocations: 86.27 kB / 460.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3282, allocations: 197.1 kB / 460.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3282, allocations: 42.67 kB / 460.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3284, allocations: 334.5 kB / 460.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3285, allocations: 137.6 kB / 460.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3286, allocations: 135.5 kB / 460.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.3289, allocations: 332.4 kB / 461.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3289, allocations: 0 / 461.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003131/0.3292, allocations: 363.2 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3293, allocations: 9.297 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3293, allocations: 3.25 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3293, allocations: 3.234 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3293, allocations: 4.156 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3293, allocations: 7.125 kB / 461.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3294, allocations: 25.25 kB / 461.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3294, allocations: 7.938 kB / 461.7 MB, free: 12.7 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.0001103/0.3295, allocations: 127.7 kB / 461.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3296, allocations: 21.94 kB / 461.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.3301, allocations: 0.7069 MB / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.3302, allocations: 3.438 kB / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3302, allocations: 0 / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3302, allocations: 0 / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3304, allocations: 293.6 kB / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3305, allocations: 0 / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.3305, allocations: 0 / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3305, allocations: 0 / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3305, allocations: 0 / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3305, allocations: 0 / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3305, allocations: 10.61 kB / 462.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3308, allocations: 317 kB / 463.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3309, allocations: 123.9 kB / 463.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3309, allocations: 0 / 463.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.331, allocations: 3.469 kB / 463.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.331, allocations: 3.75 kB / 463.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.331, allocations: 7.797 kB / 463.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.3311, allocations: 118.5 kB / 463.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3311, allocations: 0 / 463.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001712/0.3328, allocations: 0.6866 MB / 464.1 MB, free: 11.75 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.003448/0.3363, allocations: 1.01 MB / 465.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3366, allocations: 305 kB / 465.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3366, allocations: 1.375 kB / 465.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3368, allocations: 147.2 kB / 465.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3381, allocations: 221.3 kB / 465.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.3387, allocations: 498.4 kB / 466.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.339, allocations: 0.7365 MB / 467 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.3392, allocations: 15.58 kB / 467 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.3392, allocations: 17.34 kB / 467 MB, free: 10.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3392, allocations: 0 / 467 MB, free: 10.5 MB / 334.1 MB Notification: Performance of Templates: time 0.03782/0.377, allocations: 25.24 MB / 492.2 MB, free: 5.895 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1) Environment - environmentSimulation: