Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.001382/0.001382, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001523/0.001523, allocations: 212.4 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.996/0.996, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 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.002168/0.002168, allocations: 68.05 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1893, allocations: 89.16 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001901/0.1912, allocations: 0.5944 MB / 0.7288 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.1917, allocations: 163.5 kB / 0.7289 GB, free: 248 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.1918, allocations: 0 / 0.7289 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.1918, allocations: 0 / 0.7289 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.1918, allocations: 3.938 kB / 0.7289 GB, free: 244 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1922, allocations: 55.83 kB / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.713e-05/0.1922, allocations: 0 / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1923, allocations: 4 kB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1923, allocations: 8 kB / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.1923, allocations: 0 / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.1923, allocations: 0 / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1925, allocations: 59.86 kB / 0.729 GB, free: 116 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1925, allocations: 0 / 0.729 GB, free: 116 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.1925, allocations: 0 / 0.729 GB, free: 116 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1926, allocations: 40.16 kB / 0.7291 GB, free: 76 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1926, allocations: 0 / 0.7291 GB, free: 76 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1926, allocations: 0 / 0.7291 GB, free: 76 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1927, allocations: 0 / 0.7291 GB, free: 76 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003242/0.193, allocations: 238.4 kB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.193, allocations: 16.03 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.1931, allocations: 30.75 kB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1931, allocations: 4.922 kB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.1932, allocations: 106.5 kB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1932, allocations: 384 / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.1932, allocations: 12.25 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.1933, allocations: 26.27 kB / 0.7295 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1933, allocations: 3.938 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.1933, allocations: 0 / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1933, allocations: 0 / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.1933, allocations: 4 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1935, allocations: 124.8 kB / 0.7296 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.1935, allocations: 18.61 kB / 0.7296 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.1936, allocations: 8.797 kB / 0.7297 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/0.1941, allocations: 67.98 kB / 0.7297 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1942, allocations: 42.48 kB / 0.7298 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.1942, allocations: 4 kB / 0.7298 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.1943, allocations: 37.64 kB / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1944, allocations: 55.39 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.1944, allocations: 89.86 kB / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1944, allocations: 25.7 kB / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1945, allocations: 84.14 kB / 0.73 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1945, allocations: 3.953 kB / 0.73 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.1946, allocations: 9.719 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1947, allocations: 314.8 kB / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1947, allocations: 3.938 kB / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.1947, allocations: 4.125 kB / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.1948, allocations: 12.86 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1948, allocations: 0 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.687e-05/0.1948, allocations: 33.69 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1948, allocations: 4 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.1949, allocations: 7.938 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1949, allocations: 0 / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.1949, allocations: 0 / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1949, allocations: 0 / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.1949, allocations: 96 / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1949, allocations: 7.938 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.823e-05/0.195, allocations: 109.8 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.195, allocations: 0 / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.1951, allocations: 44.62 kB / 0.7306 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1951, allocations: 0 / 0.7306 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1951, allocations: 3.938 kB / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1951, allocations: 0 / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1952, allocations: 116.8 kB / 0.7307 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1952, allocations: 0 / 0.7307 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.1952, allocations: 3.984 kB / 0.7307 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1952, allocations: 4.031 kB / 0.7307 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1952, allocations: 7.938 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1952, allocations: 4 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1952, allocations: 0 / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.57e-05/0.1953, allocations: 61.08 kB / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.1953, allocations: 0 / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1953, allocations: 7.922 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.1953, allocations: 0 / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1954, allocations: 0 / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.1954, allocations: 0 / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.1954, allocations: 87.31 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1954, allocations: 3.938 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000203/0.1956, allocations: 11.94 kB / 0.7309 GB, free: 13.97 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004901/0.1961, allocations: 0.6123 MB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.254e-05/0.1962, allocations: 16.02 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1962, allocations: 0 / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.1962, allocations: 0 / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1963, allocations: 2.031 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1966, allocations: 106.6 kB / 0.7316 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.1967, allocations: 59.34 kB / 0.7316 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.838e-06/0.1967, allocations: 0 / 0.7316 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.1967, allocations: 7.438 kB / 0.7317 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1967, allocations: 0 / 0.7317 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.2254, allocations: 1.651 MB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.33, allocations: 10.36 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.229666554369032] Failed to read output from testmodel.py, exit status != 0: 11.43380758818239 11.452138638 11.255947754 Calling exit ...