Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.001991/0.001991, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.169/2.169, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05347/0.05347, allocations: 9.092 MB / 279.6 MB, free: 2.965 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.001661/0.001662, allocations: 71.89 kB / 339.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5019, allocations: 48.15 MB / 387.6 MB, free: 51.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.03163/0.5336, allocations: 19.19 MB / 406.8 MB, free: 37.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.5464, allocations: 9.377 MB / 416.2 MB, free: 29.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.5472, allocations: 1.719 kB / 416.2 MB, free: 29.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.5494, allocations: 437.4 kB / 416.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.5506, allocations: 264.7 kB / 416.9 MB, free: 29.05 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.02148/0.5721, allocations: 4.526 MB / 421.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.573, allocations: 409.8 kB / 421.8 MB, free: 25.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.5731, allocations: 24.39 kB / 421.8 MB, free: 25.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.5736, allocations: 175.2 kB / 422 MB, free: 25.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.5738, allocations: 95.53 kB / 422.1 MB, free: 24.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.5738, allocations: 4 kB / 422.1 MB, free: 24.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01749/0.5913, allocations: 7.396 MB / 429.5 MB, free: 17.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.5915, allocations: 19.86 kB / 429.5 MB, free: 17.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.5919, allocations: 119.4 kB / 429.6 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.6073, allocations: 3.262 MB / 432.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.6074, allocations: 0 / 432.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.6074, allocations: 0 / 432.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.6074, allocations: 0 / 432.9 MB, free: 14.1 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003316/0.6107, allocations: 0.819 MB / 433.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.6108, allocations: 12.02 kB / 433.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/0.6114, allocations: 59.67 kB / 433.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.6117, allocations: 190.7 kB / 434 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.6118, allocations: 4 kB / 434 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.6118, allocations: 11.98 kB / 434 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.6124, allocations: 229.5 kB / 434.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6124, allocations: 0 / 434.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.6124, allocations: 0 / 434.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.6125, allocations: 11.98 kB / 434.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.613, allocations: 216.5 kB / 434.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.6135, allocations: 352.2 kB / 434.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6146, allocations: 347.1 kB / 435.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.6149, allocations: 257.9 kB / 435.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05626/0.6712, allocations: 28.59 MB / 464 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.6714, allocations: 38.55 kB / 464 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.436e-06/0.6714, allocations: 0 / 464 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.001792/0.6732, allocations: 0.6855 MB / 464.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.6733, allocations: 51.41 kB / 464.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.6735, allocations: 109.8 kB / 464.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.6736, allocations: 33.64 kB / 464.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.6736, allocations: 85.45 kB / 465 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.674, allocations: 236.4 kB / 465.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6741, allocations: 61.67 kB / 465.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.6744, allocations: 338.8 kB / 465.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.6747, allocations: 168.5 kB / 465.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.6751, allocations: 180.7 kB / 465.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.6758, allocations: 420.7 kB / 466.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6758, allocations: 4 kB / 466.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000903/0.6768, allocations: 478.5 kB / 466.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.6768, allocations: 4.781 kB / 466.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.6768, allocations: 4 kB / 466.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.6769, allocations: 0 / 466.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.6771, allocations: 27.97 kB / 466.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.6771, allocations: 3.938 kB / 466.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.6773, allocations: 31.59 kB / 466.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.6774, allocations: 7.984 kB / 466.9 MB, free: 7.082 MB / 350.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_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * 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 0.0002153/0.6776, allocations: 130.6 kB / 467 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.6777, allocations: 23.72 kB / 467 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.679, allocations: 0.7715 MB / 467.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/0.679, allocations: 11.97 kB / 467.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.679, allocations: 3.938 kB / 467.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6791, allocations: 10.8 kB / 467.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.6797, allocations: 432.1 kB / 468.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6797, allocations: 0 / 468.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.6799, allocations: 31.97 kB / 468.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6799, allocations: 0 / 468.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.6799, allocations: 3.984 kB / 468.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6799, allocations: 0 / 468.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.6799, allocations: 7.938 kB / 468.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.6809, allocations: 0.5188 MB / 468.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.6811, allocations: 112.7 kB / 468.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.6812, allocations: 4 kB / 468.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6813, allocations: 11.98 kB / 468.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.6814, allocations: 15.92 kB / 468.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.6814, allocations: 8 kB / 469 MB, free: 4.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.6815, allocations: 87.2 kB / 469 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6815, allocations: 0 / 469 MB, free: 4.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003212/0.6848, allocations: 0.7106 MB / 469.8 MB, free: 4.102 MB / 350.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: 8 (sat_T.liq.phase,sat_T.vap.phase,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 (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.005695/0.6905, allocations: 1.026 MB / 470.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.6916, allocations: 444.9 kB / 471.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6917, allocations: 0 / 471.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.6921, allocations: 256.5 kB / 471.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6935, allocations: 231.8 kB / 471.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6948, allocations: 0.5353 MB / 472.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.6954, allocations: 0.7495 MB / 473 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.6959, allocations: 194.7 kB / 473.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.696, allocations: 31.42 kB / 473.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.696, allocations: 0 / 473.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Templates: time 0.05097/0.7469, allocations: 26.4 MB / 499.6 MB, free: 6.289 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)