Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.0007699/0.0007699, 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.0007905/0.0007905, allocations: 169.9 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.9092/0.9092, 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.06128/0.06128, allocations: 7.525 MB / 266.7 MB, free: 6.18 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.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 391.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.768e-05, allocations: 2.281 kB / 391.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.0138/0.01383, allocations: 16.59 MB / 408.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.01669, allocations: 4.327 MB / 412.6 MB, free: 172 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.01676, allocations: 4 kB / 412.6 MB, free: 168 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1635/0.1802, allocations: 286.8 kB / 412.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.1817, allocations: 0.7443 MB / 413.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.186, allocations: 1.897 MB / 415.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1862, allocations: 184 kB / 415.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1862, allocations: 16.55 kB / 415.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.1865, allocations: 129.2 kB / 415.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.1865, allocations: 39.06 kB / 415.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1865, allocations: 7.469 kB / 415.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.1896, allocations: 2.614 MB / 418.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.1896, allocations: 13.83 kB / 418.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.1897, allocations: 43.22 kB / 418.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1915, allocations: 1.541 MB / 420.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1915, allocations: 0 / 420.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1915, allocations: 0 / 420.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1915, allocations: 0 / 420.1 MB, free: 14.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007981/0.1923, allocations: 0.5492 MB / 420.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1923, allocations: 12.19 kB / 420.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1924, allocations: 45.08 kB / 420.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1924, allocations: 16.88 kB / 420.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.1925, allocations: 126.2 kB / 420.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1925, allocations: 6.625 kB / 420.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1925, allocations: 4.375 kB / 420.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.1927, allocations: 204.8 kB / 421.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1928, allocations: 1.984 kB / 421.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1928, allocations: 0 / 421.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1928, allocations: 4.906 kB / 421.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.193, allocations: 284.5 kB / 421.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1935, allocations: 498.9 kB / 421.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1937, allocations: 212.7 kB / 422.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1939, allocations: 159.3 kB / 422.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/0.1957, allocations: 0.8121 MB / 423.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1957, allocations: 35.56 kB / 423.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.1957, allocations: 0.5312 kB / 423.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006873/0.1964, allocations: 0.5884 MB / 423.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1964, allocations: 64.08 kB / 423.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.1965, allocations: 105.4 kB / 423.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1965, allocations: 28.64 kB / 423.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.1965, allocations: 87.28 kB / 424 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.1966, allocations: 117.2 kB / 424.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1967, allocations: 34.7 kB / 424.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.1967, allocations: 324.5 kB / 424.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1968, allocations: 156.7 kB / 424.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.197, allocations: 155.3 kB / 424.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1973, allocations: 346.2 kB / 425.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1973, allocations: 1.062 kB / 425.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003822/0.1977, allocations: 388.8 kB / 425.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1977, allocations: 8.578 kB / 425.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1977, allocations: 0 / 425.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1977, allocations: 0 / 425.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.1978, allocations: 33.97 kB / 425.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1979, allocations: 4.188 kB / 425.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1979, allocations: 25.64 kB / 425.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1979, allocations: 6.594 kB / 425.5 MB, free: 12.67 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.155e-05/0.198, allocations: 114.1 kB / 425.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.198, allocations: 10.25 kB / 425.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.1985, allocations: 436.4 kB / 426.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1985, allocations: 4.375 kB / 426.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1985, allocations: 7.938 kB / 426.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1985, allocations: 1.219 kB / 426.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1987, allocations: 257.3 kB / 426.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1987, allocations: 0.875 kB / 426.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1987, allocations: 28.75 kB / 426.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1987, allocations: 1.172 kB / 426.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1988, allocations: 2.438 kB / 426.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1988, allocations: 5.312 kB / 426.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1988, allocations: 3.938 kB / 426.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1991, allocations: 495.5 kB / 426.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1992, allocations: 31.88 kB / 426.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1992, allocations: 1.188 kB / 426.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.1992, allocations: 9.125 kB / 426.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1993, allocations: 12.38 kB / 426.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1993, allocations: 10.23 kB / 426.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.1993, allocations: 84.53 kB / 427 MB, free: 12.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1993, allocations: 0 / 427 MB, free: 12.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008421/0.2002, allocations: 429.1 kB / 427.4 MB, free: 12.01 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001564/0.2017, allocations: 1.615 MB / 429 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.2021, allocations: 340.4 kB / 429.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2021, allocations: 8.844 kB / 429.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2022, allocations: 168.8 kB / 429.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2026, allocations: 72.17 kB / 429.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2033, allocations: 0.5603 MB / 430.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.2034, allocations: 96.64 kB / 430.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.2034, allocations: 28.34 kB / 430.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.2035, allocations: 37.72 kB / 430.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2035, allocations: 0 / 430.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2269, allocations: 14.45 MB / 444.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.539, allocations: 7.578 kB / 444.8 MB, free: 1.453 MB / 330.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0028 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.672219726257026] Failed to read output from testmodel.py, exit status != 0: 7.623414628207684 7.632761376 7.439251092 Calling exit ...