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.005001/0.005001, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001196/0.001196, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.244/1.244, allocations: 205.1 MB / 222.5 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.04346/0.04346, allocations: 9.091 MB / 279 MB, free: 12.09 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.001293/0.001293, allocations: 72.47 kB / 387.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2133, allocations: 48.14 MB / 435.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01682/0.2302, allocations: 18.95 MB / 454.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.2372, allocations: 7.38 MB / 461.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.2373, allocations: 2.281 kB / 461.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.2383, allocations: 491.8 kB / 462.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.2388, allocations: 283.7 kB / 462.7 MB, free: 3.039 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.009352/0.2482, allocations: 4.383 MB / 467.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.2486, allocations: 369.9 kB / 467.4 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.2486, allocations: 15.66 kB / 467.4 MB, free: 0 / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2489, allocations: 163 kB / 467.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.249, allocations: 81.89 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.249, allocations: 1.344 kB / 467.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.2591, allocations: 7.031 MB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.2591, allocations: 7.875 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2592, allocations: 99.5 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.2644, allocations: 3.138 MB / 478 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2644, allocations: 0 / 478 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2644, allocations: 4 kB / 478 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2645, allocations: 0 / 478 MB, free: 6.406 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.001361/0.2658, allocations: 0.7484 MB / 478.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2659, allocations: 8.031 kB / 478.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.2659, allocations: 19.72 kB / 478.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2661, allocations: 186.8 kB / 478.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2661, allocations: 3.938 kB / 478.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2661, allocations: 0 / 478.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.2663, allocations: 173 kB / 479.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2663, allocations: 7.938 kB / 479.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.2663, allocations: 4 kB / 479.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2664, allocations: 7.984 kB / 479.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2665, allocations: 136.4 kB / 479.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.2668, allocations: 311.6 kB / 479.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.267, allocations: 199 kB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2671, allocations: 181.9 kB / 479.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04558/0.3127, allocations: 28.59 MB / 0.4966 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3128, allocations: 30.56 kB / 0.4966 GB, free: 2.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.984e-06/0.3128, allocations: 0 / 0.4966 GB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0006407/0.3134, allocations: 0.5376 MB / 0.4971 GB, free: 2.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3135, allocations: 55.41 kB / 0.4972 GB, free: 2.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.3136, allocations: 101.8 kB / 0.4973 GB, free: 2.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3136, allocations: 25.7 kB / 0.4973 GB, free: 2.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.3136, allocations: 81.45 kB / 0.4974 GB, free: 2.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3138, allocations: 197 kB / 0.4976 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3138, allocations: 45.69 kB / 0.4976 GB, free: 1.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3139, allocations: 334.8 kB / 0.4979 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3141, allocations: 132.5 kB / 0.4981 GB, free: 1.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3142, allocations: 138.7 kB / 0.4982 GB, free: 1.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.3145, allocations: 340.2 kB / 0.4985 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3145, allocations: 0 / 0.4985 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003363/0.3148, allocations: 362.1 kB / 0.4989 GB, free: 496 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3148, allocations: 4 kB / 0.4989 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3149, allocations: 3.938 kB / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3149, allocations: 336 / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3149, allocations: 0 / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3149, allocations: 0 / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.315, allocations: 31.59 kB / 0.4989 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.315, allocations: 0 / 0.4989 GB, free: 456 kB / 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 9.283e-05/0.3151, allocations: 138.8 kB / 0.499 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3151, allocations: 19.72 kB / 0.4991 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.3157, allocations: 0.7031 MB / 0.4998 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.3157, allocations: 11.98 kB / 0.4998 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3157, allocations: 0 / 0.4998 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3157, allocations: 0 / 0.4998 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.316, allocations: 297.5 kB / 0.5 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.316, allocations: 0 / 0.5 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.316, allocations: 4 kB / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.316, allocations: 0 / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.316, allocations: 0 / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.316, allocations: 0 / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.316, allocations: 0 / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.3163, allocations: 321.4 kB / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3164, allocations: 104.8 kB / 0.5005 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3164, allocations: 11.84 kB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.3165, allocations: 0 / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3165, allocations: 7.984 kB / 0.5005 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3165, allocations: 0 / 0.5005 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.886e-05/0.3166, allocations: 114.7 kB / 0.5006 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3166, allocations: 0 / 0.5006 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001454/0.3181, allocations: 0.6949 MB / 0.5013 GB, free: 13.89 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.002555/0.3206, allocations: 0.9988 MB / 0.5022 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.3209, allocations: 307.4 kB / 0.5025 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3209, allocations: 4 kB / 0.5025 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3211, allocations: 144.4 kB / 0.5027 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3222, allocations: 227.5 kB / 0.5029 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3227, allocations: 410.6 kB / 0.5033 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3229, allocations: 0.7329 MB / 0.504 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.024e-05/0.323, allocations: 16.61 kB / 0.504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.323, allocations: 15.44 kB / 0.504 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3231, allocations: 0 / 0.504 GB, free: 11 MB / 398.1 MB Notification: Performance of Templates: time 0.03343/0.3565, allocations: 25.41 MB / 0.5288 GB, free: 1.578 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)