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.001263/0.001263, allocations: 119 kB / 19.69 MB, free: 2.199 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.001412/0.001412, allocations: 224.1 kB / 23.01 MB, free: 5.047 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9772/0.9772, allocations: 150 MB / 463.2 MB, free: 10.45 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.002045/0.002045, allocations: 66.12 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1699, allocations: 89.19 MB / 0.7284 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001767/0.1717, allocations: 0.576 MB / 0.729 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.1722, allocations: 191.3 kB / 0.7291 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.1722, allocations: 0 / 0.7291 GB, free: 412 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.1722, allocations: 0 / 0.7291 GB, free: 412 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.1722, allocations: 0 / 0.7291 GB, free: 412 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1726, allocations: 51.84 kB / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.285e-05/0.1727, allocations: 0 / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1727, allocations: 7.984 kB / 0.7292 GB, free: 352 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1727, allocations: 3.984 kB / 0.7292 GB, free: 348 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.1727, allocations: 4 kB / 0.7292 GB, free: 344 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.1727, allocations: 0 / 0.7292 GB, free: 344 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1729, allocations: 55.89 kB / 0.7293 GB, free: 288 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.1729, allocations: 3.938 kB / 0.7293 GB, free: 284 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.1729, allocations: 0 / 0.7293 GB, free: 284 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.173, allocations: 40.09 kB / 0.7293 GB, free: 244 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.173, allocations: 4 kB / 0.7293 GB, free: 240 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.173, allocations: 3.938 kB / 0.7293 GB, free: 236 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1731, allocations: 4 kB / 0.7293 GB, free: 232 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.0003074/0.1734, allocations: 242.4 kB / 0.7295 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1734, allocations: 12.03 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.1734, allocations: 30.75 kB / 0.7296 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1735, allocations: 0.9375 kB / 0.7296 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.1736, allocations: 102.5 kB / 0.7297 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1736, allocations: 384 / 0.7297 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-06/0.1736, allocations: 384 / 0.7297 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.459e-05/0.1737, allocations: 34.25 kB / 0.7297 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1737, allocations: 7.938 kB / 0.7297 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1737, allocations: 4 kB / 0.7297 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1737, allocations: 0 / 0.7297 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.1737, allocations: 7.938 kB / 0.7297 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.1738, allocations: 112.8 kB / 0.7298 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/0.1739, allocations: 14.58 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.1739, allocations: 8.953 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.1745, allocations: 75.91 kB / 0.7299 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1745, allocations: 30.56 kB / 0.73 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1745, allocations: 0 / 0.73 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.1746, allocations: 41.58 kB / 0.73 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1747, allocations: 51.53 kB / 0.7301 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.1747, allocations: 97.8 kB / 0.7301 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1747, allocations: 29.7 kB / 0.7302 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.1748, allocations: 80.14 kB / 0.7303 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1748, allocations: 3.953 kB / 0.7303 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1748, allocations: 9.719 kB / 0.7303 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.175, allocations: 314.8 kB / 0.7306 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.175, allocations: 8 kB / 0.7306 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-06/0.175, allocations: 0 / 0.7306 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.175, allocations: 12.92 kB / 0.7306 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.175, allocations: 0 / 0.7306 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.311e-05/0.1751, allocations: 33.64 kB / 0.7306 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1751, allocations: 4 kB / 0.7306 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1751, allocations: 3.938 kB / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1751, allocations: 4 kB / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.602e-05/0.1751, allocations: 3.984 kB / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1751, allocations: 0 / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.1751, allocations: 32 / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1752, allocations: 4 kB / 0.7306 GB, free: 14.67 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.485e-05/0.1752, allocations: 109.8 kB / 0.7307 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.1752, allocations: 4 kB / 0.7307 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.1753, allocations: 44.52 kB / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1753, allocations: 0 / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1753, allocations: 7.984 kB / 0.7308 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1753, allocations: 0 / 0.7308 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.025e-05/0.1754, allocations: 116.8 kB / 0.7309 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1754, allocations: 4.031 kB / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.1754, allocations: 0 / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1754, allocations: 0 / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1754, allocations: 3.938 kB / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1754, allocations: 0 / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1754, allocations: 4 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.1755, allocations: 57.12 kB / 0.731 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.1755, allocations: 0 / 0.731 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.1755, allocations: 7.969 kB / 0.731 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.1755, allocations: 7.984 kB / 0.731 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.1756, allocations: 0 / 0.731 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1756, allocations: 3.938 kB / 0.731 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.1756, allocations: 83.22 kB / 0.7311 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1756, allocations: 0 / 0.7311 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001961/0.1758, allocations: 19.92 kB / 0.7311 GB, free: 14.13 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.0004973/0.1763, allocations: 0.6163 MB / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.1764, allocations: 4 kB / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1764, allocations: 0 / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.1764, allocations: 8.031 kB / 0.7317 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1765, allocations: 2.031 kB / 0.7317 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.1768, allocations: 114.6 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1771, allocations: 0.669 MB / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.256e-05/0.1772, allocations: 3.984 kB / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.1772, allocations: 7.438 kB / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1772, allocations: 0 / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.2036, allocations: 1.249 MB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.19, allocations: 3.938 kB / 0.7337 GB, free: 11.5 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.015834953002923] Failed to read output from testmodel.py, exit status != 0: 11.289084175001335 11.31072783 11.133205913 Calling exit ...