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.001009/0.001009, 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.001071/0.001071, allocations: 194.5 kB / 16.14 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.272/1.272, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04248/0.04248, allocations: 9.098 MB / 278.4 MB, free: 12.38 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.001251/0.001251, allocations: 59.92 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.0713, allocations: 48.17 MB / 385.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01801/0.08935, allocations: 19.17 MB / 404.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.09596, allocations: 7.626 MB / 412.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.09611, allocations: 3.938 kB / 412.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008882/0.09704, allocations: 399.2 kB / 412.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.09752, allocations: 230.7 kB / 412.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00802/0.1055, allocations: 3.537 MB / 416.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.1059, allocations: 358 kB / 416.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1059, allocations: 16.31 kB / 416.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1062, allocations: 155.2 kB / 417 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.1063, allocations: 83.55 kB / 417 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1063, allocations: 0 / 417 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009106/0.1154, allocations: 6.408 MB / 423.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.1155, allocations: 11.86 kB / 423.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1157, allocations: 99.56 kB / 423.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005675/0.1213, allocations: 3.021 MB / 426.6 MB, free: 472 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1214, allocations: 0 / 426.6 MB, free: 472 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1214, allocations: 0 / 426.6 MB, free: 472 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1214, allocations: 3.938 kB / 426.6 MB, free: 468 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.1353/0.2567, allocations: 0.7438 MB / 427.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2567, allocations: 8.844 kB / 427.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.2568, allocations: 19.34 kB / 427.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2569, allocations: 185.3 kB / 427.5 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.257, allocations: 2.688 kB / 427.5 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.257, allocations: 1.375 kB / 427.5 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.2572, allocations: 166 kB / 427.7 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2573, allocations: 0.5625 kB / 427.7 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2573, allocations: 5.312 kB / 427.7 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.2573, allocations: 10.77 kB / 427.7 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2575, allocations: 138.2 kB / 427.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.2578, allocations: 313.3 kB / 428.2 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.258, allocations: 197.6 kB / 428.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2581, allocations: 188.3 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04436/0.3025, allocations: 28.59 MB / 457.1 MB, free: 20.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3026, allocations: 38.48 kB / 457.2 MB, free: 20.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 2.034e-06/0.3026, allocations: 0 / 457.2 MB, free: 20.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006514/0.3032, allocations: 0.5333 MB / 457.7 MB, free: 20.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3033, allocations: 51.41 kB / 457.8 MB, free: 19.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.3034, allocations: 102.4 kB / 457.9 MB, free: 19.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.3034, allocations: 29.7 kB / 457.9 MB, free: 19.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.3034, allocations: 86.52 kB / 458 MB, free: 19.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.3035, allocations: 194.1 kB / 458.2 MB, free: 19.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3036, allocations: 45.94 kB / 458.2 MB, free: 19.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.3036, allocations: 331.7 kB / 458.5 MB, free: 19.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3037, allocations: 133.1 kB / 458.7 MB, free: 19.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.3038, allocations: 135.4 kB / 458.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.3041, allocations: 336.6 kB / 459.1 MB, free: 18.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3041, allocations: 0 / 459.1 MB, free: 18.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002926/0.3044, allocations: 362 kB / 459.5 MB, free: 18.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3044, allocations: 10.38 kB / 459.5 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3044, allocations: 0 / 459.5 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3045, allocations: 3.984 kB / 459.5 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.3045, allocations: 1.406 kB / 459.5 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3045, allocations: 0.5469 kB / 459.5 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.3046, allocations: 31.5 kB / 459.5 MB, free: 18.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3046, allocations: 1.5 kB / 459.5 MB, free: 18.61 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 7.903e-05/0.3047, allocations: 126.1 kB / 459.6 MB, free: 18.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3047, allocations: 27.28 kB / 459.7 MB, free: 18.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.3052, allocations: 0.7025 MB / 460.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.3052, allocations: 13.12 kB / 460.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3052, allocations: 3.938 kB / 460.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3052, allocations: 0 / 460.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3054, allocations: 293.8 kB / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3054, allocations: 0 / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.3054, allocations: 1.188 kB / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3054, allocations: 0 / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.3055, allocations: 4.969 kB / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3055, allocations: 0 / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3055, allocations: 0 / 460.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3057, allocations: 324.1 kB / 461 MB, free: 17.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3058, allocations: 100.8 kB / 461.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3058, allocations: 14.02 kB / 461.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.3059, allocations: 0 / 461.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.3059, allocations: 1.969 kB / 461.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3059, allocations: 0 / 461.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.306, allocations: 119.5 kB / 461.2 MB, free: 17.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.306, allocations: 0 / 461.2 MB, free: 17.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001498/0.3075, allocations: 0.69 MB / 461.9 MB, free: 17.14 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.002837/0.3103, allocations: 1.016 MB / 462.9 MB, free: 16.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3106, allocations: 304.4 kB / 463.2 MB, free: 16.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3106, allocations: 3.938 kB / 463.2 MB, free: 16.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.3107, allocations: 142.5 kB / 463.4 MB, free: 16.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3118, allocations: 227 kB / 463.6 MB, free: 16.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/0.3124, allocations: 485 kB / 464.1 MB, free: 16.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.3126, allocations: 0.7336 MB / 464.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.3128, allocations: 10.3 kB / 464.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3128, allocations: 16.34 kB / 464.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3128, allocations: 0 / 464.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Templates: time 0.03253/0.3453, allocations: 25.24 MB / 490.1 MB, free: 6.203 MB / 334.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)