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.00707/0.00707, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.00137/0.00137, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.32/1.32, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04741/0.04741, allocations: 9.104 MB / 279 MB, free: 12.07 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.001523/0.001523, allocations: 78.55 kB / 387.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 48.16 MB / 435.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01932/0.2757, allocations: 18.94 MB / 454.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.284, allocations: 7.381 MB / 461.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.2843, allocations: 5.062 kB / 461.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2855, allocations: 432.7 kB / 462.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.2861, allocations: 256.4 kB / 462.6 MB, free: 3.098 MB / 334.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.01294/0.2991, allocations: 4.208 MB / 466.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.2996, allocations: 363.2 kB / 467.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.2996, allocations: 19.56 kB / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.2999, allocations: 158.2 kB / 467.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3001, allocations: 82.66 kB / 467.4 MB, free: 64 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.3001, allocations: 4 kB / 467.4 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.3124, allocations: 7.028 MB / 474.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.3125, allocations: 19.8 kB / 474.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.3127, allocations: 99.5 kB / 474.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007041/0.3198, allocations: 3.133 MB / 477.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3198, allocations: 0 / 477.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3198, allocations: 0 / 477.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3198, allocations: 0 / 477.7 MB, free: 6.684 MB / 350.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.001405/0.3212, allocations: 0.7689 MB / 478.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3213, allocations: 8.031 kB / 478.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.3213, allocations: 23.8 kB / 478.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3215, allocations: 178.8 kB / 478.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3215, allocations: 7.938 kB / 478.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.3215, allocations: 0 / 478.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3217, allocations: 169 kB / 478.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3218, allocations: 3.938 kB / 478.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3218, allocations: 4 kB / 478.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3218, allocations: 15.97 kB / 478.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3219, allocations: 132.5 kB / 479 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.3222, allocations: 307.7 kB / 479.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3224, allocations: 206.9 kB / 479.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3226, allocations: 185.9 kB / 479.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04865/0.3713, allocations: 28.59 MB / 0.4964 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3713, allocations: 34.5 kB / 0.4964 GB, free: 3.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.324e-06/0.3713, allocations: 0 / 0.4964 GB, free: 3.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007176/0.3721, allocations: 0.5339 MB / 0.4969 GB, free: 2.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3721, allocations: 51.41 kB / 0.497 GB, free: 2.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.3722, allocations: 105.8 kB / 0.4971 GB, free: 2.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3723, allocations: 25.7 kB / 0.4971 GB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.3723, allocations: 81.45 kB / 0.4972 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.3725, allocations: 206.1 kB / 0.4974 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.3725, allocations: 49.69 kB / 0.4974 GB, free: 2.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3727, allocations: 334.8 kB / 0.4977 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3728, allocations: 124.5 kB / 0.4979 GB, free: 1.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3729, allocations: 134.7 kB / 0.498 GB, free: 1.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.3732, allocations: 344.2 kB / 0.4983 GB, free: 1.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3733, allocations: 0 / 0.4983 GB, free: 1.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003748/0.3736, allocations: 366.1 kB / 0.4987 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3737, allocations: 11.94 kB / 0.4987 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3737, allocations: 0 / 0.4987 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3737, allocations: 0 / 0.4987 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3737, allocations: 0 / 0.4987 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3737, allocations: 3.984 kB / 0.4987 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.3738, allocations: 23.73 kB / 0.4987 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3738, allocations: 0 / 0.4987 GB, free: 0.6719 MB / 382.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.0001041/0.3739, allocations: 141.7 kB / 0.4988 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.374, allocations: 19.86 kB / 0.4989 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.3746, allocations: 0.7034 MB / 0.4995 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.3747, allocations: 11.91 kB / 0.4995 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3747, allocations: 0 / 0.4995 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3747, allocations: 0 / 0.4995 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.375, allocations: 289.7 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.375, allocations: 0 / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.375, allocations: 4 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.375, allocations: 0 / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.375, allocations: 0 / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.375, allocations: 8 kB / 0.4998 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3751, allocations: 0 / 0.4998 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.3754, allocations: 333.4 kB / 0.5002 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.3755, allocations: 100.9 kB / 0.5003 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3755, allocations: 7.953 kB / 0.5003 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.3756, allocations: 4 kB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.3756, allocations: 3.984 kB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3756, allocations: 4 kB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.3757, allocations: 115 kB / 0.5004 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3757, allocations: 0 / 0.5004 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0018/0.3775, allocations: 0.701 MB / 0.5011 GB, free: 14.09 MB / 398.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.003523/0.381, allocations: 1.032 MB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3815, allocations: 299.5 kB / 0.5024 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3815, allocations: 4 kB / 0.5024 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3816, allocations: 140.4 kB / 0.5025 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.3829, allocations: 219.5 kB / 0.5027 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.3835, allocations: 406.3 kB / 0.5031 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3838, allocations: 0.7368 MB / 0.5038 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.384, allocations: 8.625 kB / 0.5038 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.384, allocations: 15.44 kB / 0.5038 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.384, allocations: 0 / 0.5038 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Templates: time 0.04069/0.4247, allocations: 25.44 MB / 0.5287 GB, free: 1.758 MB / 414.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)