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.001276/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04545/0.04545, allocations: 9.085 MB / 278.8 MB, free: 12.17 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.002085/0.002085, allocations: 68.11 kB / 338 MB, free: 25.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08785, allocations: 48.17 MB / 386.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01931/0.1072, allocations: 18.95 MB / 405.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007231/0.1145, allocations: 7.364 MB / 412.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1146, allocations: 0 / 412.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009613/0.1156, allocations: 446.9 kB / 412.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.1162, allocations: 246.5 kB / 413.2 MB, free: 14.12 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.009384/0.1255, allocations: 4.209 MB / 417.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.1259, allocations: 366 kB / 417.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.126, allocations: 16.31 kB / 417.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.1263, allocations: 155.3 kB / 417.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1264, allocations: 83.55 kB / 418 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.1264, allocations: 0 / 418 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.137, allocations: 6.765 MB / 424.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.137, allocations: 11.88 kB / 424.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1372, allocations: 95.56 kB / 424.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.15/0.2872, allocations: 3.135 MB / 428 MB, free: 23.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2872, allocations: 0 / 428 MB, free: 23.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2872, allocations: 0 / 428 MB, free: 23.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2872, allocations: 4.844 kB / 428 MB, free: 23.76 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.001701/0.2889, allocations: 0.7444 MB / 428.7 MB, free: 23.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.289, allocations: 11.59 kB / 428.8 MB, free: 23.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2891, allocations: 19.75 kB / 428.8 MB, free: 23.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2892, allocations: 179.3 kB / 428.9 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2892, allocations: 2.625 kB / 429 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2892, allocations: 9.125 kB / 429 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.2894, allocations: 163.9 kB / 429.1 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2895, allocations: 1.031 kB / 429.1 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2895, allocations: 0 / 429.1 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.2895, allocations: 12.44 kB / 429.1 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2896, allocations: 132.9 kB / 429.3 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.2899, allocations: 315.3 kB / 429.6 MB, free: 22.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.2901, allocations: 200.4 kB / 429.8 MB, free: 22.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.2902, allocations: 190.3 kB / 430 MB, free: 22.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0477/0.3379, allocations: 28.59 MB / 458.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.338, allocations: 32.81 kB / 458.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.756e-06/0.338, allocations: 1.078 kB / 458.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0005925/0.3386, allocations: 0.5443 MB / 459.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3386, allocations: 51.41 kB / 459.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.3387, allocations: 101.9 kB / 459.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3387, allocations: 25.7 kB / 459.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.3388, allocations: 87.16 kB / 459.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.3389, allocations: 196.8 kB / 459.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3389, allocations: 44.09 kB / 459.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.339, allocations: 333.2 kB / 459.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.3391, allocations: 132.2 kB / 460.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.3392, allocations: 139.8 kB / 460.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3395, allocations: 330.5 kB / 460.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3395, allocations: 0 / 460.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003052/0.3398, allocations: 366.6 kB / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3398, allocations: 6.156 kB / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3398, allocations: 0 / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3398, allocations: 2.938 kB / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-06/0.3399, allocations: 1.594 kB / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3399, allocations: 7.938 kB / 460.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.34, allocations: 30.59 kB / 460.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.34, allocations: 0 / 460.9 MB, free: 13.17 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 9.114e-05/0.3401, allocations: 127.4 kB / 461.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3401, allocations: 20.19 kB / 461.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.3406, allocations: 0.7057 MB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3406, allocations: 5.156 kB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3406, allocations: 9.359 kB / 461.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3406, allocations: 2.25 kB / 461.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3409, allocations: 288.2 kB / 462.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3409, allocations: 0 / 462.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.3409, allocations: 5.438 kB / 462.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3409, allocations: 3.328 kB / 462.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3409, allocations: 0.9688 kB / 462.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3409, allocations: 0 / 462.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3409, allocations: 3.938 kB / 462.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3412, allocations: 317.3 kB / 462.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.3413, allocations: 94.8 kB / 462.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3413, allocations: 10.94 kB / 462.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.3414, allocations: 4 kB / 462.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.3414, allocations: 12.88 kB / 462.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3414, allocations: 3.188 kB / 462.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.247e-05/0.3415, allocations: 115.1 kB / 462.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3415, allocations: 0.5469 kB / 462.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001956/0.3434, allocations: 0.6874 MB / 463.3 MB, free: 12.22 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.003221/0.3467, allocations: 1.014 MB / 464.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.3469, allocations: 302.1 kB / 464.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3469, allocations: 3.938 kB / 464.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.347, allocations: 146.6 kB / 464.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3482, allocations: 231.5 kB / 465 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.3487, allocations: 403.8 kB / 465.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.349, allocations: 0.7392 MB / 466.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.3491, allocations: 12.78 kB / 466.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.3491, allocations: 18.44 kB / 466.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3491, allocations: 0 / 466.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Templates: time 0.03722/0.3864, allocations: 25.55 MB / 491.7 MB, free: 5.332 MB / 350.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)