Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.001351/0.001351, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001491/0.001491, allocations: 211.8 kB / 22.99 MB, free: 4.605 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.518/1.518, 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 1.087/1.087, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 178] 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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.002293/0.002293, allocations: 66.58 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2043, allocations: 89.17 MB / 0.7282 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003147/0.2075, allocations: 1.455 MB / 0.7296 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.2081, allocations: 235.3 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.2082, allocations: 0 / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.2082, allocations: 3.938 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.2082, allocations: 3.984 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.2087, allocations: 63.81 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.2088, allocations: 19.94 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2089, allocations: 11.98 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.2089, allocations: 11.92 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.209, allocations: 7.984 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.209, allocations: 4 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2092, allocations: 63.83 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2092, allocations: 3.984 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.2092, allocations: 8 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2094, allocations: 52.08 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2094, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2094, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2094, allocations: 0 / 0.73 GB, free: 15.12 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.0005795/0.21, allocations: 274.2 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.2101, allocations: 12.03 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.2101, allocations: 38.67 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.2101, allocations: 4.875 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2103, allocations: 114.5 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2103, allocations: 384 / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2103, allocations: 384 / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2105, allocations: 50.23 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2105, allocations: 3.938 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2105, allocations: 4 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2106, allocations: 4 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.2107, allocations: 35.89 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.2112, allocations: 216 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.2113, allocations: 42.48 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.2114, allocations: 20.91 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.212, allocations: 75.92 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2121, allocations: 34.55 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.2121, allocations: 0 / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.2124, allocations: 85.69 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2125, allocations: 51.41 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2126, allocations: 105.8 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2126, allocations: 25.7 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.2127, allocations: 80.14 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2127, allocations: 3.953 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.2127, allocations: 21.7 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2129, allocations: 310.8 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.213, allocations: 19.98 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.2131, allocations: 16.02 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2132, allocations: 40.81 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.2132, allocations: 3.938 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.2134, allocations: 61.61 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2134, allocations: 8 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2134, allocations: 3.984 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2135, allocations: 4.094 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.2136, allocations: 8 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2136, allocations: 4 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.2136, allocations: 15.94 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2136, allocations: 0 / 0.7318 GB, free: 13.16 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 9.179e-05/0.2137, allocations: 109.8 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2138, allocations: 4 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.214, allocations: 76.91 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.214, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.214, allocations: 3.984 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.214, allocations: 0 / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2142, allocations: 132.7 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2142, allocations: 3.938 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.2143, allocations: 7.984 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2143, allocations: 3.938 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.2143, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2143, allocations: 4 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2143, allocations: 4.031 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.2146, allocations: 159.5 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.2146, allocations: 4 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2146, allocations: 3.984 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.2147, allocations: 4 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2147, allocations: 7.938 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2147, allocations: 3.984 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.2148, allocations: 79.28 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2148, allocations: 4.031 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002497/0.215, allocations: 19.94 kB / 0.7324 GB, free: 12.46 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.0007601/0.2158, allocations: 0.7123 MB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.216, allocations: 39.94 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.216, allocations: 0 / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.2161, allocations: 19.97 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2163, allocations: 4 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.2169, allocations: 139.1 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.2169, allocations: 63.34 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.2169, allocations: 4.125 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.217, allocations: 7.438 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.217, allocations: 0 / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.2491, allocations: 2.064 MB / 0.7353 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 8.531 kB / 0.7354 GB, free: 9.457 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1_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_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.71883990475908] Failed to read output from testmodel.py, exit status != 0: 11.76341051980853 11.792744245 11.57794228 Calling exit ...