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.001313/0.001313, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001508/0.001508, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.568/1.568, allocations: 207.6 MB / 233 MB, free: 10 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.05369/0.05369, allocations: 9.155 MB / 294.4 MB, free: 12.71 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.002244/0.002244, allocations: 68.11 kB / 411.1 MB, free: 46.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09517, allocations: 50.76 MB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02585/0.121, allocations: 19.3 MB / 481.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1321, allocations: 9.408 MB / 490.5 MB, free: 64 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.1324, allocations: 4 kB / 490.5 MB, free: 60 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.1338, allocations: 498.1 kB / 491 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008286/0.1347, allocations: 282.4 kB / 491.3 MB, free: 15.29 MB / 366.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.0139/0.1486, allocations: 4.814 MB / 496.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000573/0.1491, allocations: 401.7 kB / 496.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.1492, allocations: 12.58 kB / 496.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.1495, allocations: 179.2 kB / 496.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1497, allocations: 107.5 kB / 496.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1497, allocations: 4 kB / 496.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.1641, allocations: 7.841 MB / 0.4928 GB, free: 1.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1641, allocations: 19.86 kB / 0.4928 GB, free: 1.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.1644, allocations: 115.4 kB / 0.4929 GB, free: 1.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009418/0.1738, allocations: 3.285 MB / 0.4961 GB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.1738, allocations: 0 / 0.4961 GB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1738, allocations: 0 / 0.4961 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1738, allocations: 3.938 kB / 0.4961 GB, free: 14.5 MB / 382.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.002625/0.1765, allocations: 0.7557 MB / 0.4969 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.1765, allocations: 15.98 kB / 0.4969 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.1766, allocations: 54.53 kB / 0.497 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.177, allocations: 63.75 kB / 0.497 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1772, allocations: 136.8 kB / 0.4971 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1772, allocations: 12 kB / 0.4972 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1772, allocations: 4 kB / 0.4972 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.1777, allocations: 241.5 kB / 0.4974 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1777, allocations: 4 kB / 0.4974 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1778, allocations: 8 kB / 0.4974 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1778, allocations: 11.97 kB / 0.4974 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.1783, allocations: 228.5 kB / 0.4976 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1787, allocations: 331.3 kB / 0.4979 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1797, allocations: 311.1 kB / 0.4982 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.18, allocations: 206 kB / 0.4984 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04405/0.2241, allocations: 9.214 MB / 0.5074 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.2241, allocations: 30.56 kB / 0.5075 GB, free: 2.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.895e-06/0.2241, allocations: 0 / 0.5075 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.001402/0.2255, allocations: 0.7247 MB / 0.5082 GB, free: 2.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2256, allocations: 55.34 kB / 0.5082 GB, free: 1.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2257, allocations: 109.8 kB / 0.5083 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2257, allocations: 25.7 kB / 0.5084 GB, free: 1.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.2258, allocations: 89.44 kB / 0.5084 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.226, allocations: 233.8 kB / 0.5087 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2261, allocations: 69.62 kB / 0.5087 GB, free: 1.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2263, allocations: 338.8 kB / 0.5091 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.2266, allocations: 188.5 kB / 0.5092 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.227, allocations: 183.2 kB / 0.5094 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.2277, allocations: 456.7 kB / 0.5098 GB, free: 272 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2277, allocations: 7.875 kB / 0.5099 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008318/0.2285, allocations: 0.4909 MB / 0.5103 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2286, allocations: 9.562 kB / 0.5103 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2286, allocations: 0 / 0.5103 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2286, allocations: 0 / 0.5103 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2287, allocations: 27.97 kB / 0.5104 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2288, allocations: 3.938 kB / 0.5104 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.2289, allocations: 35.72 kB / 0.5104 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.2289, allocations: 4 kB / 0.5104 GB, free: 15.68 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.0001667/0.2291, allocations: 137.8 kB / 0.5105 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2291, allocations: 23.81 kB / 0.5106 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.2303, allocations: 0.8186 MB / 0.5114 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.2304, allocations: 15.97 kB / 0.5114 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2304, allocations: 7.938 kB / 0.5114 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2304, allocations: 0 / 0.5114 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.2308, allocations: 423.4 kB / 0.5118 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2308, allocations: 0 / 0.5118 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.231, allocations: 31.91 kB / 0.5118 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.231, allocations: 3.984 kB / 0.5118 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.231, allocations: 11.94 kB / 0.5118 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.231, allocations: 0 / 0.5118 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.231, allocations: 3.938 kB / 0.5118 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.2319, allocations: 0.535 MB / 0.5124 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.232, allocations: 47.61 kB / 0.5124 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.232, allocations: 4 kB / 0.5124 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.2321, allocations: 7.984 kB / 0.5124 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2322, allocations: 19.91 kB / 0.5124 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2322, allocations: 4 kB / 0.5124 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.2322, allocations: 87.28 kB / 0.5125 GB, free: 13.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2322, allocations: 0 / 0.5125 GB, free: 13.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002088/0.2343, allocations: 0.7167 MB / 0.5132 GB, free: 12.71 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.004749/0.2391, allocations: 2.027 MB / 0.5152 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008465/0.2399, allocations: 421 kB / 0.5156 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2399, allocations: 0 / 0.5156 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.2403, allocations: 208.5 kB / 0.5158 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2415, allocations: 234.3 kB / 0.516 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.2464, allocations: 3.098 MB / 0.5191 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.2468, allocations: 0.7533 MB / 0.5198 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.2472, allocations: 188 kB / 0.52 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.2473, allocations: 67.5 kB / 0.52 GB, free: 5.598 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2473, allocations: 0 / 0.52 GB, free: 5.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2818/0.5291, allocations: 30.23 MB / 0.5496 GB, free: 57.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.84, allocations: 0 / 0.5496 GB, free: 57.74 MB / 398.1 MB " [Timeout remaining time 647] (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: 17.07430197999929] Failed to read output from testmodel.py, exit status != 0: 12.96909007600334 12.987035227 12.809421829 Calling exit ...