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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 207.6 MB / 229.8 MB, free: 4.25 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05032/0.05032, allocations: 9.152 MB / 290.8 MB, free: 7.32 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002126/0.002126, allocations: 71.88 kB / 405.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.228, allocations: 50.72 MB / 456.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02681/0.2548, allocations: 19.25 MB / 475.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.2715, allocations: 9.405 MB / 485.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.2717, allocations: 0 / 485.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.2736, allocations: 0.4902 MB / 485.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2747, allocations: 282.4 kB / 485.9 MB, free: 10.43 MB / 350.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.02103/0.2957, allocations: 4.749 MB / 490.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.2965, allocations: 405.8 kB / 491.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.2966, allocations: 16.41 kB / 491.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.2971, allocations: 171.3 kB / 491.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.2973, allocations: 103.5 kB / 491.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2973, allocations: 4 kB / 491.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02309/0.3204, allocations: 7.529 MB / 498.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.3205, allocations: 19.86 kB / 498.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.3208, allocations: 119.4 kB / 499 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3311, allocations: 3.265 MB / 0.4905 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3311, allocations: 7.938 kB / 0.4905 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3311, allocations: 0 / 0.4905 GB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3311, allocations: 0 / 0.4905 GB, free: 10.02 MB / 366.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.001593/0.3327, allocations: 0.8426 MB / 0.4914 GB, free: 9.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3328, allocations: 12.03 kB / 0.4914 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.3328, allocations: 50.53 kB / 0.4914 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.3332, allocations: 67.75 kB / 0.4915 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.3334, allocations: 186.8 kB / 0.4917 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3334, allocations: 11.94 kB / 0.4917 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3334, allocations: 4 kB / 0.4917 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.3339, allocations: 237.5 kB / 0.4919 GB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3339, allocations: 0 / 0.4919 GB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3339, allocations: 4 kB / 0.4919 GB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.3339, allocations: 11.97 kB / 0.4919 GB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3344, allocations: 216.5 kB / 0.4921 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3348, allocations: 348.2 kB / 0.4925 GB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.3357, allocations: 295.1 kB / 0.4927 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.336, allocations: 202 kB / 0.4929 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05429/0.3903, allocations: 28.59 MB / 0.5209 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3903, allocations: 34.56 kB / 0.5209 GB, free: 5.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 1.944e-06/0.3903, allocations: 0 / 0.5209 GB, free: 5.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001223/0.3916, allocations: 0.6856 MB / 0.5216 GB, free: 5.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3916, allocations: 59.34 kB / 0.5216 GB, free: 5.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3917, allocations: 105.8 kB / 0.5217 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3917, allocations: 29.7 kB / 0.5217 GB, free: 5.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.3918, allocations: 85.44 kB / 0.5218 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.392, allocations: 237.8 kB / 0.5221 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.3921, allocations: 65.62 kB / 0.5221 GB, free: 4.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3922, allocations: 334.8 kB / 0.5224 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.3925, allocations: 172.5 kB / 0.5226 GB, free: 4.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3928, allocations: 171.2 kB / 0.5228 GB, free: 3.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.3935, allocations: 432.7 kB / 0.5232 GB, free: 3.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3935, allocations: 4 kB / 0.5232 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007346/0.3942, allocations: 478.7 kB / 0.5236 GB, free: 3.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3942, allocations: 7.938 kB / 0.5236 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3942, allocations: 0 / 0.5236 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3942, allocations: 0 / 0.5236 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3944, allocations: 23.97 kB / 0.5237 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3944, allocations: 7.938 kB / 0.5237 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3945, allocations: 39.72 kB / 0.5237 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3946, allocations: 7.938 kB / 0.5237 GB, free: 2.984 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.0001249/0.3947, allocations: 125.8 kB / 0.5238 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.3947, allocations: 31.75 kB / 0.5239 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3958, allocations: 0.7639 MB / 0.5246 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.3958, allocations: 11.97 kB / 0.5246 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3958, allocations: 3.938 kB / 0.5246 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3958, allocations: 4 kB / 0.5246 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.3962, allocations: 432.3 kB / 0.525 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3962, allocations: 0 / 0.525 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3964, allocations: 27.97 kB / 0.5251 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3964, allocations: 0 / 0.5251 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3964, allocations: 4 kB / 0.5251 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3964, allocations: 0 / 0.5251 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.3964, allocations: 19.8 kB / 0.5251 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.3972, allocations: 0.5116 MB / 0.5256 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3973, allocations: 120.8 kB / 0.5257 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3973, allocations: 0 / 0.5257 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3974, allocations: 11.98 kB / 0.5257 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3975, allocations: 15.92 kB / 0.5257 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3975, allocations: 11.98 kB / 0.5258 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.3975, allocations: 83.28 kB / 0.5258 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 0.5258 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001749/0.3993, allocations: 0.7245 MB / 0.5265 GB, free: 15.98 MB / 414.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.003519/0.4028, allocations: 2.003 MB / 0.5285 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.4035, allocations: 389.7 kB / 0.5289 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4035, allocations: 0 / 0.5289 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.4038, allocations: 196.7 kB / 0.5291 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.405, allocations: 223.7 kB / 0.5293 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.409, allocations: 3.004 MB / 0.5322 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4093, allocations: 0.761 MB / 0.5329 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.4097, allocations: 196 kB / 0.5331 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4098, allocations: 67.41 kB / 0.5332 GB, free: 9.031 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4098, allocations: 4 kB / 0.5332 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06328/0.4731, allocations: 29.67 MB / 0.5622 GB, free: 11.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.95, allocations: 15.25 kB / 0.5622 GB, free: 11.34 MB / 446.1 MB " [Timeout remaining time 649] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.66160849109292] Failed to read output from testmodel.py, exit status != 0: 11.050397573038936 11.064067599 10.729979481 Calling exit ...