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.001554/0.001554, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.596/1.596, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04575/0.04575, allocations: 9.101 MB / 278.9 MB, free: 12.17 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.001703/0.001703, allocations: 64.12 kB / 338 MB, free: 25.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.116, allocations: 48.17 MB / 386.2 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02325/0.1393, allocations: 19.17 MB / 405.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1498, allocations: 9.388 MB / 414.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.1501, allocations: 0 / 414.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.1515, allocations: 438 kB / 415.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.1524, allocations: 258.3 kB / 415.4 MB, free: 11.86 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.01635/0.1687, allocations: 4.541 MB / 420 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.1694, allocations: 401.9 kB / 420.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.1695, allocations: 24.39 kB / 420.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.1699, allocations: 163.3 kB / 420.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.17, allocations: 103.5 kB / 420.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.17, allocations: 4 kB / 420.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2525/0.4226, allocations: 7.108 MB / 427.8 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.4227, allocations: 24.7 kB / 427.8 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.423, allocations: 112.6 kB / 427.9 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.433, allocations: 3.275 MB / 431.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.433, allocations: 2.031 kB / 431.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.433, allocations: 2.188 kB / 431.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.433, allocations: 0 / 431.2 MB, free: 20.23 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.00266/0.4357, allocations: 0.8043 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4358, allocations: 9.719 kB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.4362, allocations: 64.69 kB / 432 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4363, allocations: 186.4 kB / 432.2 MB, free: 19.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.4364, allocations: 9.5 kB / 432.2 MB, free: 19.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.4364, allocations: 8.188 kB / 432.2 MB, free: 19.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.4368, allocations: 229.7 kB / 432.5 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4368, allocations: 1.594 kB / 432.5 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4369, allocations: 2.391 kB / 432.5 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4369, allocations: 9.703 kB / 432.5 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.4373, allocations: 222.1 kB / 432.7 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.4377, allocations: 356.8 kB / 433.1 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.4387, allocations: 349.3 kB / 433.4 MB, free: 19.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.439, allocations: 255.4 kB / 433.6 MB, free: 19.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04866/0.4877, allocations: 28.6 MB / 462.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.4878, allocations: 39.22 kB / 462.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/0.4878, allocations: 0 / 462.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001323/0.4891, allocations: 0.6776 MB / 463 MB, free: 10.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4892, allocations: 54.16 kB / 463 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4893, allocations: 103.7 kB / 463.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4893, allocations: 30.39 kB / 463.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.4894, allocations: 91.56 kB / 463.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4895, allocations: 231.9 kB / 463.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.4896, allocations: 56.12 kB / 463.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4897, allocations: 340.8 kB / 463.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.49, allocations: 174.2 kB / 464 MB, free: 9.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.4902, allocations: 172.9 kB / 464.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.4907, allocations: 437.7 kB / 464.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4907, allocations: 0 / 464.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000602/0.4913, allocations: 471.3 kB / 465.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4913, allocations: 9.531 kB / 465.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4914, allocations: 0.875 kB / 465.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4914, allocations: 4 kB / 465.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4915, allocations: 29.64 kB / 465.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4916, allocations: 0 / 465.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4917, allocations: 39.25 kB / 465.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4918, allocations: 3.594 kB / 465.2 MB, free: 9.504 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: 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.0001219/0.4919, allocations: 141.7 kB / 465.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4919, allocations: 18.47 kB / 465.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.4928, allocations: 0.7645 MB / 466.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4928, allocations: 17.83 kB / 466.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4928, allocations: 3.438 kB / 466.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4928, allocations: 0 / 466.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.4932, allocations: 431.2 kB / 466.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4932, allocations: 0 / 466.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.4933, allocations: 27.59 kB / 466.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4933, allocations: 11.45 kB / 466.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4934, allocations: 2.594 kB / 466.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4934, allocations: 0 / 466.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4934, allocations: 0 / 466.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.494, allocations: 0.5182 MB / 467.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4941, allocations: 124.6 kB / 467.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4941, allocations: 7 kB / 467.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4943, allocations: 12.62 kB / 467.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.4943, allocations: 6.203 kB / 467.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4943, allocations: 8.5 kB / 467.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.4944, allocations: 83.25 kB / 467.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4944, allocations: 0 / 467.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002977/0.4974, allocations: 0.7119 MB / 468 MB, free: 8.598 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: 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.00309/0.5005, allocations: 1.031 MB / 469.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.5012, allocations: 455.3 kB / 469.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5012, allocations: 0 / 469.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.5015, allocations: 247.4 kB / 469.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.5027, allocations: 232 kB / 470 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.5034, allocations: 0.5399 MB / 470.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.5038, allocations: 0.7569 MB / 471.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.504, allocations: 200.7 kB / 471.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.5041, allocations: 18.06 kB / 471.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5041, allocations: 0 / 471.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of Templates: time 0.04111/0.5452, allocations: 26.58 MB / 498.1 MB, free: 14.02 MB / 366.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)