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.005617/0.005617, allocations: 98.66 kB / 15.73 MB, free: 5.984 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.001163/0.001163, allocations: 196.1 kB / 16.68 MB, free: 5.918 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04907/0.04907, allocations: 9.092 MB / 279 MB, free: 12.09 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.001541/0.001541, allocations: 78.23 kB / 387 MB, free: 8.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 48.15 MB / 435.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02304/0.3449, allocations: 19.19 MB / 454.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.3561, allocations: 9.382 MB / 463.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.3564, allocations: 5.125 kB / 463.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3578, allocations: 431.8 kB / 464.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009433/0.3588, allocations: 269.6 kB / 464.4 MB, free: 0.8008 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.01499/0.3739, allocations: 4.532 MB / 468.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.3744, allocations: 411.6 kB / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3745, allocations: 20.88 kB / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.3748, allocations: 173.5 kB / 469.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.375, allocations: 95.47 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3751, allocations: 4.656 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.3879, allocations: 7.396 MB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.388, allocations: 15.88 kB / 477 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.3883, allocations: 119.4 kB / 477.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008875/0.3972, allocations: 3.263 MB / 480.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3972, allocations: 0 / 480.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3972, allocations: 0 / 480.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3972, allocations: 0 / 480.4 MB, free: 3.418 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.001662/0.3989, allocations: 0.8145 MB / 481.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.399, allocations: 8.031 kB / 481.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.399, allocations: 54.53 kB / 481.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.3994, allocations: 67.56 kB / 481.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3995, allocations: 190.6 kB / 481.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3996, allocations: 8 kB / 481.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3996, allocations: 4 kB / 481.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.4, allocations: 237.4 kB / 481.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4, allocations: 0 / 481.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4, allocations: 4 kB / 481.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4, allocations: 7.984 kB / 481.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.4005, allocations: 220.4 kB / 482 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.4008, allocations: 352.1 kB / 482.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.4018, allocations: 343.1 kB / 482.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4021, allocations: 258 kB / 482.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04906/0.4512, allocations: 28.59 MB / 0.4995 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.4513, allocations: 34.56 kB / 0.4995 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.895e-06/0.4513, allocations: 0 / 0.4995 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001283/0.4526, allocations: 0.6817 MB / 0.5002 GB, free: 14.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4527, allocations: 55.34 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.4528, allocations: 117.8 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4528, allocations: 25.7 kB / 0.5004 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.4529, allocations: 89.45 kB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.453, allocations: 224.4 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.4531, allocations: 61.69 kB / 0.5008 GB, free: 13.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4533, allocations: 334.8 kB / 0.5011 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.4535, allocations: 176.5 kB / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4538, allocations: 175.2 kB / 0.5014 GB, free: 13.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.4544, allocations: 424.7 kB / 0.5018 GB, free: 12.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4544, allocations: 0 / 0.5018 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006919/0.4551, allocations: 478.5 kB / 0.5023 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4551, allocations: 4 kB / 0.5023 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4551, allocations: 4 kB / 0.5023 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4552, allocations: 3.984 kB / 0.5023 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4553, allocations: 27.92 kB / 0.5023 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4554, allocations: 3.938 kB / 0.5023 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4555, allocations: 35.58 kB / 0.5024 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.4555, allocations: 8 kB / 0.5024 GB, free: 12.32 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.0001215/0.4557, allocations: 134.9 kB / 0.5025 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.4557, allocations: 19.72 kB / 0.5025 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.4568, allocations: 0.7673 MB / 0.5033 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4568, allocations: 11.98 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4568, allocations: 3.938 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4568, allocations: 0 / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.4572, allocations: 432.2 kB / 0.5037 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4572, allocations: 0 / 0.5037 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.4574, allocations: 27.97 kB / 0.5037 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4574, allocations: 3.938 kB / 0.5037 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4574, allocations: 4 kB / 0.5037 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4574, allocations: 3.938 kB / 0.5037 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4575, allocations: 11.94 kB / 0.5037 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.4582, allocations: 0.5079 MB / 0.5042 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.4584, allocations: 120.7 kB / 0.5043 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.4584, allocations: 4 kB / 0.5043 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.4585, allocations: 7.984 kB / 0.5044 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.4586, allocations: 19.92 kB / 0.5044 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4586, allocations: 4 kB / 0.5044 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.4586, allocations: 87.58 kB / 0.5045 GB, free: 10.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4586, allocations: 0 / 0.5045 GB, free: 10.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00187/0.4605, allocations: 0.7028 MB / 0.5051 GB, free: 9.359 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.004302/0.4648, allocations: 1.993 MB / 0.5071 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007663/0.4656, allocations: 448.9 kB / 0.5075 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4656, allocations: 0 / 0.5075 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.466, allocations: 248.5 kB / 0.5078 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4672, allocations: 239.4 kB / 0.508 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.4714, allocations: 2.979 MB / 0.5109 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4718, allocations: 0.7533 MB / 0.5116 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.4722, allocations: 200 kB / 0.5118 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4724, allocations: 71.41 kB / 0.5119 GB, free: 2.316 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4724, allocations: 0 / 0.5119 GB, free: 2.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.5296, allocations: 29.75 MB / 0.5409 GB, free: 4.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.161, allocations: 0 / 0.5409 GB, free: 4.562 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)