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.01055/0.01055, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001789/0.001789, allocations: 194 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.328 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04691/0.04691, allocations: 9.096 MB / 279 MB, free: 11.95 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.001408/0.001408, allocations: 63.91 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 48.16 MB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.0249/0.2941, allocations: 19.19 MB / 454.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3042, allocations: 9.378 MB / 463.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.3045, allocations: 2.188 kB / 463.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.3057, allocations: 444.2 kB / 464.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.3064, allocations: 260.1 kB / 464.4 MB, free: 0.8086 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.015/0.3214, allocations: 4.528 MB / 468.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.322, allocations: 411.4 kB / 469.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.3221, allocations: 22.33 kB / 469.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.3224, allocations: 172.8 kB / 469.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3226, allocations: 102.4 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3226, allocations: 5.5 kB / 469.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.3356, allocations: 7.393 MB / 477 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.3357, allocations: 15.88 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.336, allocations: 119.4 kB / 477.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007385/0.3434, allocations: 3.266 MB / 480.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3435, allocations: 4 kB / 480.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3435, allocations: 0 / 480.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3435, allocations: 0 / 480.4 MB, free: 3.438 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.001561/0.3451, allocations: 0.8106 MB / 481.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3451, allocations: 12.03 kB / 481.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.3452, allocations: 58.55 kB / 481.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.3455, allocations: 63.56 kB / 481.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3457, allocations: 190.7 kB / 481.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3457, allocations: 4 kB / 481.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3457, allocations: 7.938 kB / 481.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3461, allocations: 233.5 kB / 481.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3461, allocations: 0 / 481.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3461, allocations: 4 kB / 481.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3462, allocations: 7.984 kB / 481.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.3466, allocations: 220.5 kB / 482 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.3469, allocations: 352.1 kB / 482.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.348, allocations: 351.1 kB / 482.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3483, allocations: 250 kB / 482.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04924/0.3976, allocations: 28.59 MB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.3976, allocations: 30.56 kB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.455e-06/0.3977, allocations: 0 / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001203/0.3989, allocations: 0.6777 MB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3989, allocations: 63.34 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.399, allocations: 109.8 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3991, allocations: 25.7 kB / 0.5004 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.3991, allocations: 85.45 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3993, allocations: 232.4 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.3994, allocations: 57.67 kB / 0.5008 GB, free: 14.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3995, allocations: 334.8 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3998, allocations: 176.5 kB / 0.5012 GB, free: 13.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.4001, allocations: 171.2 kB / 0.5014 GB, free: 13.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.4006, allocations: 428.7 kB / 0.5018 GB, free: 12.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4006, allocations: 0 / 0.5018 GB, free: 12.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006829/0.4013, allocations: 478.5 kB / 0.5023 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4014, allocations: 7.984 kB / 0.5023 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4014, allocations: 3.938 kB / 0.5023 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4014, allocations: 3.984 kB / 0.5023 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4015, allocations: 27.98 kB / 0.5023 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4016, allocations: 3.938 kB / 0.5023 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4017, allocations: 35.58 kB / 0.5024 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4017, allocations: 7.984 kB / 0.5024 GB, free: 12.36 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.0001583/0.4019, allocations: 137.7 kB / 0.5025 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4019, allocations: 23.72 kB / 0.5025 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4031, allocations: 0.7677 MB / 0.5033 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.4031, allocations: 3.984 kB / 0.5033 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4031, allocations: 7.938 kB / 0.5033 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4031, allocations: 0 / 0.5033 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.4037, allocations: 436.2 kB / 0.5037 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4037, allocations: 0 / 0.5037 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.4038, allocations: 23.97 kB / 0.5037 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4038, allocations: 4 kB / 0.5037 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4039, allocations: 4 kB / 0.5037 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4039, allocations: 11.92 kB / 0.5037 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4039, allocations: 3.938 kB / 0.5037 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.4046, allocations: 0.5114 MB / 0.5042 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/0.4047, allocations: 120.7 kB / 0.5044 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.4047, allocations: 0 / 0.5044 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4048, allocations: 11.98 kB / 0.5044 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4049, allocations: 15.92 kB / 0.5044 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4049, allocations: 0 / 0.5044 GB, free: 10.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.4049, allocations: 91.27 kB / 0.5045 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4049, allocations: 0 / 0.5045 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001938/0.4069, allocations: 0.7067 MB / 0.5052 GB, free: 9.383 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.005351/0.4123, allocations: 1.997 MB / 0.5071 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008078/0.4131, allocations: 445 kB / 0.5075 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4131, allocations: 0 / 0.5075 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.4135, allocations: 252.5 kB / 0.5078 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4146, allocations: 223.7 kB / 0.508 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.4194, allocations: 2.975 MB / 0.5109 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4197, allocations: 0.761 MB / 0.5116 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.4201, allocations: 192 kB / 0.5118 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.4202, allocations: 67.41 kB / 0.5119 GB, free: 2.359 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4202, allocations: 0 / 0.5119 GB, free: 2.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.4809, allocations: 29.76 MB / 0.5409 GB, free: 4.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.121/9.602, allocations: 8.047 kB / 0.541 GB, free: 4.582 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)