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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005148/0.005148, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001289/0.001289, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.38/1.38, allocations: 205.1 MB / 222.6 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04942/0.04942, allocations: 9.097 MB / 279 MB, free: 11.93 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.002147/0.002147, allocations: 63.91 kB / 387 MB, free: 8.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2509, allocations: 48.17 MB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01938/0.2703, allocations: 19.17 MB / 454.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009698/0.28, allocations: 9.385 MB / 463.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.2804, allocations: 2.5 kB / 463.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2818, allocations: 451 kB / 464.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.2827, allocations: 253.2 kB / 464.4 MB, free: 0.8047 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.01211/0.2948, allocations: 4.54 MB / 468.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.2953, allocations: 403.5 kB / 469.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.2954, allocations: 21.36 kB / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.2957, allocations: 172.9 kB / 469.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2959, allocations: 103 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2959, allocations: 4.781 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.3087, allocations: 7.391 MB / 477 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.3088, allocations: 15.88 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.3091, allocations: 119.4 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.3165, allocations: 3.273 MB / 480.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.3166, allocations: 4 kB / 480.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3166, allocations: 0 / 480.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3166, allocations: 0 / 480.4 MB, free: 3.422 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.001427/0.318, allocations: 0.8309 MB / 481.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3181, allocations: 16.03 kB / 481.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.3181, allocations: 54.53 kB / 481.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.3185, allocations: 59.77 kB / 481.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3187, allocations: 202.7 kB / 481.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3187, allocations: 0 / 481.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3187, allocations: 4 kB / 481.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.3191, allocations: 237.5 kB / 481.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3192, allocations: 0 / 481.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3192, allocations: 0 / 481.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3192, allocations: 11.98 kB / 481.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.3196, allocations: 224.4 kB / 482 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.32, allocations: 348.2 kB / 482.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.321, allocations: 347.1 kB / 482.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.3214, allocations: 250 kB / 482.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05146/0.3729, allocations: 28.59 MB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3729, allocations: 38.55 kB / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.024e-06/0.3729, allocations: 0 / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001216/0.3742, allocations: 0.6778 MB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3742, allocations: 63.34 kB / 0.5003 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3743, allocations: 117.8 kB / 0.5004 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3744, allocations: 25.7 kB / 0.5004 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.3744, allocations: 85.45 kB / 0.5005 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.3746, allocations: 233.9 kB / 0.5007 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.3747, allocations: 65.62 kB / 0.5008 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3749, allocations: 334.8 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3752, allocations: 176.5 kB / 0.5013 GB, free: 13.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3754, allocations: 171.2 kB / 0.5015 GB, free: 13.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.3761, allocations: 436.6 kB / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3761, allocations: 0 / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007669/0.3769, allocations: 482.7 kB / 0.5023 GB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3769, allocations: 8 kB / 0.5023 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3769, allocations: 0 / 0.5023 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3769, allocations: 0 / 0.5023 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3771, allocations: 23.97 kB / 0.5024 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3771, allocations: 3.938 kB / 0.5024 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3773, allocations: 39.67 kB / 0.5024 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3773, allocations: 7.984 kB / 0.5024 GB, free: 12.29 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.0001272/0.3774, allocations: 133.8 kB / 0.5025 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.3775, allocations: 23.81 kB / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3786, allocations: 0.7601 MB / 0.5033 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.3786, allocations: 7.984 kB / 0.5033 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3786, allocations: 3.938 kB / 0.5033 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3786, allocations: 3.984 kB / 0.5033 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.3791, allocations: 436.3 kB / 0.5037 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3791, allocations: 0 / 0.5037 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3792, allocations: 31.91 kB / 0.5038 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3793, allocations: 0 / 0.5038 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3793, allocations: 11.98 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3793, allocations: 3.938 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3793, allocations: 3.938 kB / 0.5038 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.3801, allocations: 0.5076 MB / 0.5043 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3802, allocations: 124.8 kB / 0.5044 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3802, allocations: 0 / 0.5044 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3803, allocations: 11.98 kB / 0.5044 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3804, allocations: 11.92 kB / 0.5044 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3804, allocations: 4 kB / 0.5044 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.3805, allocations: 87.58 kB / 0.5045 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3805, allocations: 8 kB / 0.5045 GB, free: 10.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001757/0.3823, allocations: 0.7128 MB / 0.5052 GB, free: 9.309 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.003652/0.3859, allocations: 2.008 MB / 0.5072 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.3867, allocations: 445 kB / 0.5076 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3867, allocations: 0 / 0.5076 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.387, allocations: 252.5 kB / 0.5078 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3882, allocations: 238.8 kB / 0.5081 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3923, allocations: 3.008 MB / 0.511 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3927, allocations: 0.7572 MB / 0.5117 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.3931, allocations: 196.1 kB / 0.5119 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3932, allocations: 63.41 kB / 0.512 GB, free: 2.227 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3932, allocations: 0 / 0.512 GB, free: 2.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07888/0.4721, allocations: 29.62 MB / 0.5409 GB, free: 4.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.25, allocations: 7.984 kB / 0.5409 GB, free: 4.586 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)