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.001834/0.001834, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.002026/0.002026, allocations: 189.4 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05602/0.05602, allocations: 9.096 MB / 279.6 MB, free: 2.977 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.002351/0.002351, allocations: 67.89 kB / 339.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5101, allocations: 48.14 MB / 387.6 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.03164/0.5419, allocations: 18.09 MB / 405.7 MB, free: 38.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.5558, allocations: 11.06 MB / 416.8 MB, free: 29.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.5563, allocations: 1.406 kB / 416.8 MB, free: 29.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.849e-05/0.5564, allocations: 15.86 kB / 416.8 MB, free: 29.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5579, allocations: 345.7 kB / 417.1 MB, free: 28.84 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.02765/0.5856, allocations: 5.227 MB / 422.3 MB, free: 24.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.5861, allocations: 151.3 kB / 422.5 MB, free: 24.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.5862, allocations: 8 kB / 422.5 MB, free: 24.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.5867, allocations: 87.56 kB / 422.6 MB, free: 24.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.5869, allocations: 51.77 kB / 422.6 MB, free: 24.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.587, allocations: 8 kB / 422.6 MB, free: 24.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02063/0.6076, allocations: 8.102 MB / 430.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.6078, allocations: 23.86 kB / 430.8 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.608, allocations: 43.8 kB / 430.8 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.625, allocations: 3.388 MB / 434.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.6251, allocations: 0 / 434.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.6251, allocations: 4 kB / 434.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.6251, allocations: 0 / 434.2 MB, free: 12.8 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.003055/0.6282, allocations: 0.8036 MB / 435 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.6283, allocations: 8.031 kB / 435 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.6286, allocations: 19.83 kB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.6288, allocations: 188.1 kB / 435.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6289, allocations: 0 / 435.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.6289, allocations: 4 kB / 435.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.6294, allocations: 105.6 kB / 435.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6295, allocations: 0 / 435.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6295, allocations: 0 / 435.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.6295, allocations: 0 / 435.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.63, allocations: 107.8 kB / 435.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.6307, allocations: 326.5 kB / 435.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.6313, allocations: 102.5 kB / 435.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.6315, allocations: 60.81 kB / 435.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/0.6564, allocations: 15.92 MB / 451.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.6566, allocations: 38.72 kB / 451.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 6.312e-06/0.6566, allocations: 0 / 451.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001144/0.6578, allocations: 217.4 kB / 452.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6578, allocations: 55.41 kB / 452.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.658, allocations: 135.7 kB / 452.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6581, allocations: 25.7 kB / 452.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.6582, allocations: 92.14 kB / 452.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.6582, allocations: 31.55 kB / 452.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.6583, allocations: 33.64 kB / 452.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.6585, allocations: 310.8 kB / 452.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6587, allocations: 47.95 kB / 452.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.6589, allocations: 55.94 kB / 452.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.6592, allocations: 108.7 kB / 453 MB, free: 7.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6592, allocations: 0 / 453 MB, free: 7.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004082/0.6597, allocations: 149.5 kB / 453.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.6597, allocations: 7.938 kB / 453.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6597, allocations: 3.938 kB / 453.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.6598, allocations: 7.984 kB / 453.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6599, allocations: 23.97 kB / 453.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6599, allocations: 4 kB / 453.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6601, allocations: 23.81 kB / 453.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6601, allocations: 4 kB / 453.2 MB, free: 6.797 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 0.000126/0.6602, allocations: 117.8 kB / 453.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.6603, allocations: 11.84 kB / 453.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.6611, allocations: 400.8 kB / 453.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.6612, allocations: 11.94 kB / 453.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.6612, allocations: 0 / 453.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6612, allocations: 0 / 453.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.6616, allocations: 281.9 kB / 454 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6616, allocations: 0 / 454 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.6617, allocations: 27.97 kB / 454 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.6617, allocations: 3.938 kB / 454 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6617, allocations: 0 / 454 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6618, allocations: 4 kB / 454 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6618, allocations: 0 / 454 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.6625, allocations: 432 kB / 454.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6626, allocations: 112.8 kB / 454.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.6627, allocations: 0 / 454.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6628, allocations: 15.98 kB / 454.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.6629, allocations: 11.98 kB / 454.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6629, allocations: 7.984 kB / 454.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.663, allocations: 102.7 kB / 454.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.663, allocations: 0 / 454.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002021/0.665, allocations: 455.8 kB / 455.1 MB, free: 4.75 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.002197/0.6672, allocations: 0.7022 MB / 455.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.6679, allocations: 195.8 kB / 456 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6679, allocations: 0 / 456 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.6682, allocations: 166.6 kB / 456.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.6687, allocations: 45.8 kB / 456.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.6694, allocations: 361.5 kB / 456.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.6699, allocations: 0.72 MB / 457.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.67, allocations: 14.86 kB / 457.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.6701, allocations: 15.44 kB / 457.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of SimCode: time 3.386e-06/0.6701, allocations: 0 / 457.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Templates: time 0.02614/0.6962, allocations: 14.33 MB / 471.7 MB, free: 4.199 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 cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)