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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 105.7 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 216 kB / 19.43 MB, free: 3.656 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.472/1.472, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] 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.05168/0.05168, allocations: 9.15 MB / 290.8 MB, free: 13.9 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 75.45 kB / 405.9 MB, free: 47.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09571, allocations: 50.72 MB / 456.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02574/0.1214, allocations: 19.25 MB / 475.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1327, allocations: 9.411 MB / 485.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.1331, allocations: 4 kB / 485.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.1344, allocations: 498 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007449/0.1352, allocations: 282.4 kB / 486 MB, free: 0.707 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.01468/0.1499, allocations: 4.75 MB / 490.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.1507, allocations: 409.8 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.1508, allocations: 12.41 kB / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.1512, allocations: 183.2 kB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1514, allocations: 103.5 kB / 491.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1514, allocations: 4 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.1668, allocations: 7.525 MB / 499 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1669, allocations: 27.86 kB / 499 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1671, allocations: 115.4 kB / 499.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009131/0.1763, allocations: 3.265 MB / 0.4906 GB, free: 308 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1763, allocations: 0 / 0.4906 GB, free: 308 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1763, allocations: 0 / 0.4906 GB, free: 308 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1763, allocations: 3.938 kB / 0.4906 GB, free: 304 kB / 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.002329/0.1786, allocations: 0.8311 MB / 0.4914 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1786, allocations: 8.031 kB / 0.4914 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.1787, allocations: 58.53 kB / 0.4915 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/0.1791, allocations: 67.75 kB / 0.4915 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1793, allocations: 190.7 kB / 0.4917 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1794, allocations: 4 kB / 0.4917 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1794, allocations: 8 kB / 0.4917 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.1799, allocations: 233.4 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1799, allocations: 7.922 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1799, allocations: 0 / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.1799, allocations: 15.97 kB / 0.492 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.1804, allocations: 216.5 kB / 0.4922 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1808, allocations: 352.2 kB / 0.4925 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1818, allocations: 291.1 kB / 0.4928 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1822, allocations: 198 kB / 0.493 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05584/0.238, allocations: 28.59 MB / 0.5209 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.2381, allocations: 34.55 kB / 0.5209 GB, free: 12.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.514e-06/0.2381, allocations: 0 / 0.5209 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.001283/0.2393, allocations: 0.6817 MB / 0.5216 GB, free: 11.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2394, allocations: 55.34 kB / 0.5217 GB, free: 11.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2395, allocations: 113.8 kB / 0.5218 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2395, allocations: 29.64 kB / 0.5218 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.2396, allocations: 93.44 kB / 0.5219 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.2398, allocations: 237.8 kB / 0.5221 GB, free: 11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.2399, allocations: 57.64 kB / 0.5222 GB, free: 10.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2401, allocations: 334.8 kB / 0.5225 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.2404, allocations: 172.5 kB / 0.5226 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.2406, allocations: 183.1 kB / 0.5228 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.2413, allocations: 428.7 kB / 0.5232 GB, free: 9.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2413, allocations: 0 / 0.5232 GB, free: 9.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000765/0.242, allocations: 466.7 kB / 0.5237 GB, free: 9.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2421, allocations: 4 kB / 0.5237 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2421, allocations: 4 kB / 0.5237 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2421, allocations: 4 kB / 0.5237 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2423, allocations: 35.84 kB / 0.5237 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.2423, allocations: 3.938 kB / 0.5237 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2424, allocations: 35.72 kB / 0.5238 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2425, allocations: 4 kB / 0.5238 GB, free: 9.281 MB / 414.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.0001425/0.2426, allocations: 135.5 kB / 0.5239 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.2426, allocations: 27.81 kB / 0.5239 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.2438, allocations: 0.7677 MB / 0.5247 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.2438, allocations: 11.97 kB / 0.5247 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2439, allocations: 3.938 kB / 0.5247 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2439, allocations: 0 / 0.5247 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.2443, allocations: 432.3 kB / 0.5251 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2443, allocations: 0 / 0.5251 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.2445, allocations: 31.97 kB / 0.5251 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2445, allocations: 4 kB / 0.5251 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2445, allocations: 4 kB / 0.5251 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2445, allocations: 0 / 0.5251 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2445, allocations: 3.938 kB / 0.5251 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.2453, allocations: 0.5154 MB / 0.5256 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2455, allocations: 132.6 kB / 0.5258 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.2455, allocations: 4 kB / 0.5258 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2456, allocations: 7.984 kB / 0.5258 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.2457, allocations: 15.92 kB / 0.5258 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2457, allocations: 4 kB / 0.5258 GB, free: 7.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.2458, allocations: 83.28 kB / 0.5259 GB, free: 7.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2458, allocations: 0 / 0.5259 GB, free: 7.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00205/0.2478, allocations: 0.7167 MB / 0.5266 GB, free: 6.289 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.004587/0.2524, allocations: 1.997 MB / 0.5285 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008509/0.2532, allocations: 400.9 kB / 0.5289 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2532, allocations: 0 / 0.5289 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.2537, allocations: 200.4 kB / 0.5291 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.255, allocations: 233.3 kB / 0.5293 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.2599, allocations: 2.998 MB / 0.5323 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1827/0.4426, allocations: 0.7495 MB / 0.533 GB, free: 88.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.4431, allocations: 194.7 kB / 0.5332 GB, free: 88.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4432, allocations: 66.14 kB / 0.5332 GB, free: 88.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4432, allocations: 0.9844 kB / 0.5332 GB, free: 88.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06574/0.5089, allocations: 29.68 MB / 0.5622 GB, free: 70.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.534/10.04, allocations: 11.36 kB / 0.5622 GB, free: 70.22 MB / 414.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.815125711262226] Failed to read output from testmodel.py, exit status != 0: 10.130018594209105 10.142241243 9.963080051 Calling exit ...