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.008859/0.008858, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001742/0.001742, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.593/1.593, 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.05001/0.05001, allocations: 9.092 MB / 279 MB, free: 12.07 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.001436/0.001436, allocations: 74.55 kB / 387.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3557, allocations: 48.16 MB / 435.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02392/0.3796, allocations: 19.19 MB / 454.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3913, allocations: 9.378 MB / 464.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.3918, allocations: 2.25 kB / 464.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.3933, allocations: 440.3 kB / 464.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007763/0.3941, allocations: 260.9 kB / 464.9 MB, free: 1.016 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.01757/0.4117, allocations: 4.534 MB / 469.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.4124, allocations: 408.2 kB / 469.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.4125, allocations: 21.81 kB / 469.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.4128, allocations: 176.2 kB / 470 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.413, allocations: 99.62 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.413, allocations: 3.906 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.4286, allocations: 7.398 MB / 477.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.4287, allocations: 15.88 kB / 477.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.429, allocations: 115.4 kB / 477.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.4371, allocations: 3.263 MB / 480.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4371, allocations: 0 / 480.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4371, allocations: 3.938 kB / 480.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4371, allocations: 4 kB / 480.9 MB, free: 3.324 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001567/0.4387, allocations: 0.8141 MB / 481.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4388, allocations: 12.03 kB / 481.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.4392, allocations: 59.58 kB / 481.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.4393, allocations: 194.7 kB / 482 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.4394, allocations: 7.938 kB / 482 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4394, allocations: 0 / 482 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.4399, allocations: 241.4 kB / 482.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4399, allocations: 0 / 482.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4399, allocations: 0 / 482.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.44, allocations: 7.984 kB / 482.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.4404, allocations: 220.5 kB / 482.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.4408, allocations: 352.1 kB / 482.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.4417, allocations: 347.1 kB / 483.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.442, allocations: 250 kB / 483.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04816/0.4902, allocations: 28.6 MB / 0.5 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4903, allocations: 30.56 kB / 0.5 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.4903, allocations: 0 / 0.5 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001186/0.4915, allocations: 0.6816 MB / 0.5006 GB, free: 14.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4915, allocations: 55.41 kB / 0.5007 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4916, allocations: 113.8 kB / 0.5008 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4917, allocations: 25.7 kB / 0.5008 GB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.4917, allocations: 85.45 kB / 0.5009 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4919, allocations: 232.4 kB / 0.5011 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.4919, allocations: 61.67 kB / 0.5012 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4921, allocations: 338.8 kB / 0.5015 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.4924, allocations: 168.5 kB / 0.5017 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4927, allocations: 175.3 kB / 0.5018 GB, free: 13.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.4933, allocations: 428.7 kB / 0.5023 GB, free: 12.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4933, allocations: 0 / 0.5023 GB, free: 12.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006763/0.494, allocations: 478.6 kB / 0.5027 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.494, allocations: 4 kB / 0.5027 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.494, allocations: 0 / 0.5027 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.494, allocations: 3.938 kB / 0.5027 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4942, allocations: 27.97 kB / 0.5027 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4942, allocations: 7.938 kB / 0.5028 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4943, allocations: 39.53 kB / 0.5028 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4944, allocations: 7.984 kB / 0.5028 GB, free: 12.3 MB / 398.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.0001245/0.4945, allocations: 129.8 kB / 0.5029 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4945, allocations: 19.72 kB / 0.5029 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.4955, allocations: 0.7675 MB / 0.5037 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4956, allocations: 7.984 kB / 0.5037 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4956, allocations: 3.938 kB / 0.5037 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4956, allocations: 3.984 kB / 0.5037 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.496, allocations: 428.2 kB / 0.5041 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4961, allocations: 0 / 0.5041 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4962, allocations: 27.97 kB / 0.5041 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4962, allocations: 4 kB / 0.5041 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4962, allocations: 3.984 kB / 0.5041 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4962, allocations: 0 / 0.5041 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4963, allocations: 7.938 kB / 0.5042 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.497, allocations: 0.5231 MB / 0.5047 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.4971, allocations: 116.6 kB / 0.5048 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4971, allocations: 0 / 0.5048 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4973, allocations: 11.98 kB / 0.5048 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.4973, allocations: 19.92 kB / 0.5048 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4974, allocations: 0 / 0.5048 GB, free: 10.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.4974, allocations: 91.58 kB / 0.5049 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4974, allocations: 0 / 0.5049 GB, free: 10.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002398/0.4998, allocations: 0.7028 MB / 0.5056 GB, free: 9.34 MB / 398.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.002593/0.5024, allocations: 1.046 MB / 0.5066 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.5032, allocations: 436.9 kB / 0.507 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5032, allocations: 4 kB / 0.507 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.5035, allocations: 248.5 kB / 0.5073 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5047, allocations: 235.1 kB / 0.5075 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.5056, allocations: 0.5317 MB / 0.508 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.5059, allocations: 0.7571 MB / 0.5087 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.5062, allocations: 195.9 kB / 0.5089 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.5063, allocations: 31.42 kB / 0.509 GB, free: 5.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5063, allocations: 0 / 0.509 GB, free: 5.82 MB / 398.1 MB Notification: Performance of Templates: time 0.03734/0.5436, allocations: 26.45 MB / 0.5348 GB, free: 11.38 MB / 430.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)