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.0009592/0.0009592, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001105/0.001105, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9666/0.9666, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02877/0.02877, allocations: 7.518 MB / 266.7 MB, free: 6.191 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 4.107e-06/4.107e-06, allocations: 0 / 391.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/3.07e-05, allocations: 4.812 kB / 391.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01845/0.01848, allocations: 17.42 MB / 409.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006708/0.02519, allocations: 8.36 MB / 417.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.02542, allocations: 7.938 kB / 417.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009214/0.02634, allocations: 390.8 kB / 417.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.0269, allocations: 274.3 kB / 418.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.03705, allocations: 4.819 MB / 423 MB, free: 6.992 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.03759, allocations: 421.5 kB / 423.4 MB, free: 6.578 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.03767, allocations: 20.52 kB / 423.4 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.03803, allocations: 247.2 kB / 423.7 MB, free: 6.312 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.03814, allocations: 75.77 kB / 423.7 MB, free: 6.238 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.03815, allocations: 8 kB / 423.7 MB, free: 6.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007559/0.04571, allocations: 5.063 MB / 428.8 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.04576, allocations: 23.84 kB / 428.8 MB, free: 1.133 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.046, allocations: 75.81 kB / 428.9 MB, free: 1.059 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.05346, allocations: 3.203 MB / 432.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.05346, allocations: 4 kB / 432.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.05346, allocations: 0 / 432.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.05347, allocations: 0 / 432.1 MB, free: 13.84 MB / 410.7 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.001673/0.05514, allocations: 0.7478 MB / 432.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.05519, allocations: 12.62 kB / 432.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.05524, allocations: 58.53 kB / 432.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.05551, allocations: 63.75 kB / 433 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.05563, allocations: 125 kB / 433.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.05566, allocations: 11.94 kB / 433.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.05567, allocations: 8 kB / 433.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.05597, allocations: 237.5 kB / 433.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.05598, allocations: 4 kB / 433.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.05599, allocations: 3.938 kB / 433.4 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.05601, allocations: 15.97 kB / 433.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.05625, allocations: 224.5 kB / 433.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.05654, allocations: 331.3 kB / 433.9 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.05711, allocations: 303.1 kB / 434.2 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.0573, allocations: 210 kB / 434.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/0.07764, allocations: 9.231 MB / 443.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.07768, allocations: 34.56 kB / 443.7 MB, free: 2.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 3.256e-06/0.07769, allocations: 0 / 443.7 MB, free: 2.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.0009494/0.07864, allocations: 0.7331 MB / 444.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.07868, allocations: 51.41 kB / 444.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.07878, allocations: 113.8 kB / 444.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.07881, allocations: 29.7 kB / 444.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.07885, allocations: 81.45 kB / 444.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.07899, allocations: 229.9 kB / 444.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.07908, allocations: 65.67 kB / 445 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.07918, allocations: 334.8 kB / 445.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.07937, allocations: 188.5 kB / 445.5 MB, free: 252 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.07954, allocations: 191.2 kB / 445.7 MB, free: 64 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1922/0.2718, allocations: 454.7 kB / 446.1 MB, free: 93.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2718, allocations: 0 / 446.1 MB, free: 93.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004718/0.2723, allocations: 0.4906 MB / 446.6 MB, free: 93.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2723, allocations: 6.062 kB / 446.6 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2723, allocations: 4.359 kB / 446.6 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2723, allocations: 2.031 kB / 446.6 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2724, allocations: 29.08 kB / 446.7 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2724, allocations: 3.188 kB / 446.7 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.2725, allocations: 37.36 kB / 446.7 MB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2725, allocations: 13.28 kB / 446.7 MB, free: 93 MB / 410.7 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.0001031/0.2726, allocations: 127.1 kB / 446.8 MB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2726, allocations: 24.16 kB / 446.9 MB, free: 92.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.2733, allocations: 0.8244 MB / 447.7 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.2733, allocations: 18.41 kB / 447.7 MB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2733, allocations: 4.703 kB / 447.7 MB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2733, allocations: 3.875 kB / 447.7 MB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2735, allocations: 413 kB / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2735, allocations: 3.281 kB / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.2736, allocations: 30.86 kB / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2736, allocations: 3.312 kB / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2736, allocations: 0 / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2736, allocations: 0 / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2736, allocations: 0 / 448.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.274, allocations: 0.5514 MB / 448.7 MB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.2741, allocations: 45.66 kB / 448.7 MB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2741, allocations: 0 / 448.7 MB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.128e-05/0.2742, allocations: 13.77 kB / 448.8 MB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2742, allocations: 6.547 kB / 448.8 MB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2742, allocations: 6.703 kB / 448.8 MB, free: 91.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.2742, allocations: 82.59 kB / 448.9 MB, free: 91.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2742, allocations: 3.219 kB / 448.9 MB, free: 91.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001704/0.2759, allocations: 0.7212 MB / 449.6 MB, free: 91.79 MB / 410.7 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.002818/0.2788, allocations: 2.123 MB / 451.7 MB, free: 90.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2792, allocations: 419.2 kB / 452.1 MB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2792, allocations: 0 / 452.1 MB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2794, allocations: 212 kB / 452.3 MB, free: 90.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.28, allocations: 233.4 kB / 452.5 MB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.283, allocations: 3.118 MB / 455.7 MB, free: 88.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.896e-05/0.2831, allocations: 140 kB / 455.8 MB, free: 88.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003803/0.2835, allocations: 199.7 kB / 456 MB, free: 88.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.2836, allocations: 60.73 kB / 456.1 MB, free: 88.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.562e-06/0.2836, allocations: 5.312 kB / 456.1 MB, free: 88.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.338, allocations: 31.26 MB / 487.3 MB, free: 80.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.131, allocations: 4.25 kB / 487.3 MB, free: 80.39 MB / 410.7 MB " [Timeout remaining time 652] (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.305598478764296] Failed to read output from testmodel.py, exit status != 0: 8.223791725933552 8.235682841 8.179793692 Calling exit ...