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.001122/0.001122, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001188/0.001188, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04669/0.04669, allocations: 9.097 MB / 279.6 MB, free: 2.957 MB / 222.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.001425/0.001425, allocations: 67.91 kB / 339.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.263, allocations: 48.14 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01647/0.2795, allocations: 18.08 MB / 405.7 MB, free: 38.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.2874, allocations: 11.07 MB / 416.8 MB, free: 29.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2876, allocations: 0 / 416.8 MB, free: 29.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.2876, allocations: 15.86 kB / 416.8 MB, free: 29.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2887, allocations: 338.7 kB / 417.1 MB, free: 28.83 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.01352/0.3022, allocations: 5.236 MB / 422.3 MB, free: 24.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3024, allocations: 155.2 kB / 422.5 MB, free: 24.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3025, allocations: 4 kB / 422.5 MB, free: 24.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3027, allocations: 79.62 kB / 422.6 MB, free: 24.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.3028, allocations: 47.78 kB / 422.6 MB, free: 24.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3028, allocations: 12 kB / 422.6 MB, free: 24.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.3146, allocations: 8.102 MB / 430.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.3147, allocations: 15.92 kB / 430.8 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.3148, allocations: 47.73 kB / 430.8 MB, free: 16.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007517/0.3223, allocations: 3.395 MB / 434.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3223, allocations: 0 / 434.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3223, allocations: 0 / 434.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3223, allocations: 0 / 434.2 MB, free: 12.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001359/0.3237, allocations: 0.8075 MB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3238, allocations: 8.031 kB / 435 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3239, allocations: 15.84 kB / 435 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.324, allocations: 184.2 kB / 435.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.324, allocations: 4 kB / 435.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3241, allocations: 0 / 435.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3244, allocations: 109.5 kB / 435.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3244, allocations: 0 / 435.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3244, allocations: 4 kB / 435.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3244, allocations: 0 / 435.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.3248, allocations: 111.8 kB / 435.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.3252, allocations: 318.7 kB / 435.7 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.3256, allocations: 106.5 kB / 435.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3258, allocations: 64.81 kB / 435.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/0.3454, allocations: 15.92 MB / 451.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3455, allocations: 34.5 kB / 451.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.3455, allocations: 0 / 451.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008541/0.3464, allocations: 217.6 kB / 452.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.3464, allocations: 51.41 kB / 452.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3465, allocations: 143.3 kB / 452.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3466, allocations: 25.7 kB / 452.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3466, allocations: 92.14 kB / 452.4 MB, free: 7.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.3467, allocations: 31.55 kB / 452.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.3467, allocations: 21.72 kB / 452.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3469, allocations: 326.8 kB / 452.8 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.347, allocations: 47.95 kB / 452.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3472, allocations: 47.95 kB / 452.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3476, allocations: 109.3 kB / 453 MB, free: 7.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3476, allocations: 4 kB / 453 MB, free: 7 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004447/0.348, allocations: 149.4 kB / 453.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.348, allocations: 11.94 kB / 453.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3481, allocations: 0 / 453.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3481, allocations: 3.984 kB / 453.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3482, allocations: 27.97 kB / 453.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3482, allocations: 0 / 453.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3484, allocations: 19.83 kB / 453.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3484, allocations: 11.94 kB / 453.2 MB, free: 6.773 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: 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 8.87e-05/0.3485, allocations: 117.8 kB / 453.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3485, allocations: 19.83 kB / 453.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.3492, allocations: 378.8 kB / 453.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3492, allocations: 3.938 kB / 453.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3492, allocations: 9 kB / 453.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3492, allocations: 3.984 kB / 453.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3495, allocations: 277.9 kB / 454 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3495, allocations: 4 kB / 454 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3497, allocations: 27.91 kB / 454 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3497, allocations: 7.938 kB / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3497, allocations: 0.875 kB / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3497, allocations: 0 / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3497, allocations: 0 / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.3503, allocations: 428 kB / 454.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.3504, allocations: 108.8 kB / 454.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3504, allocations: 3.984 kB / 454.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3506, allocations: 24.08 kB / 454.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3506, allocations: 14.55 kB / 454.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3507, allocations: 0 / 454.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.3507, allocations: 106.7 kB / 454.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3507, allocations: 0 / 454.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001113/0.3518, allocations: 451.8 kB / 455.1 MB, free: 4.734 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: 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.001493/0.3533, allocations: 0.7039 MB / 455.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.3539, allocations: 207.8 kB / 456 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3539, allocations: 0 / 456 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.3541, allocations: 159.9 kB / 456.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3545, allocations: 40.67 kB / 456.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.3551, allocations: 365.5 kB / 456.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3553, allocations: 0.72 MB / 457.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.787e-05/0.3554, allocations: 18.72 kB / 457.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3555, allocations: 15.44 kB / 457.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3555, allocations: 0 / 457.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Templates: time 0.01915/0.3746, allocations: 14.33 MB / 471.7 MB, free: 4.18 MB / 350.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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)