Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005055/0.005055, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001251/0.001251, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.222/1.222, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04279/0.04279, allocations: 9.084 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.001334/0.001334, allocations: 64.47 kB / 387.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2222, allocations: 48.15 MB / 435.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01751/0.2398, allocations: 18.08 MB / 453.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009845/0.2497, allocations: 11.07 MB / 464.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.2497, allocations: 4.844 kB / 464.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.2498, allocations: 11.86 kB / 464.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007421/0.2506, allocations: 369.8 kB / 465.1 MB, free: 0.793 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.01143/0.262, allocations: 5.52 MB / 470.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2622, allocations: 139.3 kB / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.2622, allocations: 4.281 kB / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.2624, allocations: 90.19 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.2625, allocations: 56.39 kB / 470.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2626, allocations: 5.438 kB / 470.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.2735, allocations: 8.113 MB / 479.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2735, allocations: 19.92 kB / 479.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.2736, allocations: 43.8 kB / 479.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.2789, allocations: 3.391 MB / 482.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2789, allocations: 0 / 482.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2789, allocations: 0 / 482.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.279, allocations: 0 / 482.5 MB, free: 1.711 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001404/0.2804, allocations: 0.8029 MB / 483.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2804, allocations: 12.03 kB / 483.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2805, allocations: 19.83 kB / 483.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2807, allocations: 174.9 kB / 483.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2807, allocations: 4 kB / 483.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2807, allocations: 0 / 483.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.2811, allocations: 105.5 kB / 483.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2811, allocations: 3.938 kB / 483.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2811, allocations: 4 kB / 483.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2811, allocations: 4 kB / 483.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.2815, allocations: 99.83 kB / 483.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.282, allocations: 328.8 kB / 484 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.2824, allocations: 106.5 kB / 484.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.2826, allocations: 72.78 kB / 484.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02026/0.3028, allocations: 15.93 MB / 0.4884 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3029, allocations: 42.44 kB / 0.4885 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3029, allocations: 4 kB / 0.4885 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007639/0.3037, allocations: 213.6 kB / 0.4887 GB, free: 12.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3037, allocations: 51.41 kB / 0.4887 GB, free: 12.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.3038, allocations: 133.6 kB / 0.4889 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3038, allocations: 33.7 kB / 0.4889 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.3039, allocations: 84.14 kB / 0.489 GB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3039, allocations: 35.48 kB / 0.489 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.304, allocations: 25.7 kB / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.3041, allocations: 318.8 kB / 0.4893 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.3042, allocations: 43.95 kB / 0.4894 GB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3044, allocations: 55.94 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3048, allocations: 101.3 kB / 0.4895 GB, free: 11.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3048, allocations: 3.938 kB / 0.4895 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004054/0.3052, allocations: 153.4 kB / 0.4897 GB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3052, allocations: 11.94 kB / 0.4897 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3052, allocations: 0 / 0.4897 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3052, allocations: 0 / 0.4897 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3054, allocations: 31.97 kB / 0.4897 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3054, allocations: 3.938 kB / 0.4897 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3055, allocations: 23.91 kB / 0.4897 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3055, allocations: 4 kB / 0.4897 GB, free: 11.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.858e-05/0.3056, allocations: 117.8 kB / 0.4899 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.3056, allocations: 19.75 kB / 0.4899 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.3063, allocations: 386.8 kB / 0.4902 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3063, allocations: 7.984 kB / 0.4902 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3063, allocations: 0 / 0.4902 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3063, allocations: 0 / 0.4902 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3066, allocations: 281.9 kB / 0.4905 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3066, allocations: 0 / 0.4905 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3068, allocations: 31.91 kB / 0.4905 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3068, allocations: 7.875 kB / 0.4906 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3068, allocations: 4 kB / 0.4906 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3068, allocations: 0 / 0.4906 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3068, allocations: 4 kB / 0.4906 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.3074, allocations: 420 kB / 0.491 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.3075, allocations: 112.8 kB / 0.4911 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3075, allocations: 4 kB / 0.4911 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3076, allocations: 15.98 kB / 0.4911 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3077, allocations: 11.98 kB / 0.4911 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3077, allocations: 8.078 kB / 0.4911 GB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.302e-05/0.3078, allocations: 115.1 kB / 0.4912 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3078, allocations: 0 / 0.4912 GB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008743/0.3086, allocations: 447.8 kB / 0.4916 GB, free: 9.633 MB / 382.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001518/0.3102, allocations: 0.7071 MB / 0.4923 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.3107, allocations: 203.7 kB / 0.4925 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3107, allocations: 4 kB / 0.4925 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.311, allocations: 167.8 kB / 0.4927 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3113, allocations: 27.97 kB / 0.4927 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.3118, allocations: 345.7 kB / 0.493 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.312, allocations: 0.7277 MB / 0.4938 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.3121, allocations: 19.97 kB / 0.4938 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.3122, allocations: 15.44 kB / 0.4938 GB, free: 7.371 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3122, allocations: 4 kB / 0.4938 GB, free: 7.367 MB / 382.1 MB Notification: Performance of Templates: time 0.01925/0.3314, allocations: 14.35 MB / 0.5078 GB, free: 9.016 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)