Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001277/0.001277, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00149/0.00149, allocations: 216.6 kB / 23 MB, free: 5.008 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9758/0.9758, allocations: 150 MB / 463.2 MB, free: 10.47 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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002044/0.002044, allocations: 62.31 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1976, allocations: 89.17 MB / 0.7284 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002505/0.2001, allocations: 1.455 MB / 0.7298 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005504/0.2007, allocations: 255.2 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.2007, allocations: 0 / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.2007, allocations: 0 / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.2008, allocations: 7.938 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2011, allocations: 55.83 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.2011, allocations: 23.88 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.2012, allocations: 7.984 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.2012, allocations: 7.984 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.2013, allocations: 15.92 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.2013, allocations: 0 / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2014, allocations: 59.89 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.2014, allocations: 3.984 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.2015, allocations: 11.94 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2016, allocations: 60.08 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2016, allocations: 0 / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2016, allocations: 0 / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2016, allocations: 0 / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004254/0.202, allocations: 270.2 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2021, allocations: 12.03 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.2021, allocations: 30.75 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.2021, allocations: 0.9375 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2022, allocations: 114.5 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.2022, allocations: 4.375 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2023, allocations: 4.312 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2024, allocations: 50.23 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2024, allocations: 3.938 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2024, allocations: 0 / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2024, allocations: 4 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.2026, allocations: 27.97 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2029, allocations: 224 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.203, allocations: 42.44 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.2031, allocations: 20.91 kB / 0.731 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.2036, allocations: 75.91 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2036, allocations: 30.56 kB / 0.7311 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2036, allocations: 0 / 0.7311 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.204, allocations: 81.64 kB / 0.7312 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.204, allocations: 55.53 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.2041, allocations: 101.8 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2041, allocations: 29.64 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.2042, allocations: 84.14 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2042, allocations: 7.938 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2042, allocations: 13.72 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2043, allocations: 314.8 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.2044, allocations: 15.98 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.2045, allocations: 19.98 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2047, allocations: 40.81 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2047, allocations: 3.938 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.2048, allocations: 65.75 kB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2049, allocations: 11.94 kB / 0.7319 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2049, allocations: 3.938 kB / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2049, allocations: 0 / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.2049, allocations: 8 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2049, allocations: 3.984 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.205, allocations: 4 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.205, allocations: 0 / 0.732 GB, free: 13.37 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 (2): * Single equations (assignments): 2 * 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 8.471e-05/0.2051, allocations: 119.8 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.2051, allocations: 7.953 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.2053, allocations: 68.95 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2053, allocations: 0 / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2053, allocations: 4 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2053, allocations: 192 / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2055, allocations: 136.7 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2055, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.2056, allocations: 11.92 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2056, allocations: 12.02 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.2056, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2056, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2056, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2058, allocations: 159.5 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-06/0.2058, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.2058, allocations: 4.031 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.2059, allocations: 11.98 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.2059, allocations: 4 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-06/0.2059, allocations: 0 / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.206, allocations: 83.27 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.206, allocations: 0 / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00023/0.2062, allocations: 15.94 kB / 0.7326 GB, free: 12.67 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 (2): * Single equations (assignments): 2 * 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.000615/0.2068, allocations: 0.72 MB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.207, allocations: 47.94 kB / 0.7333 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.207, allocations: 0 / 0.7333 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.2071, allocations: 15.92 kB / 0.7333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2073, allocations: 7.984 kB / 0.7333 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.2078, allocations: 147 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2081, allocations: 0.6808 MB / 0.7341 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.2081, allocations: 3.984 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.2082, allocations: 7.438 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2082, allocations: 4 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.2407, allocations: 1.615 MB / 0.7357 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.09, allocations: 13.41 kB / 0.7358 GB, free: 9.457 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.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_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.978248879000603] Failed to read output from testmodel.py, exit status != 0: 11.192737363999186 11.208414497 11.003762987 Calling exit ...