Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001733/0.001733, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002342/0.002342, allocations: 219 kB / 22.26 MB, free: 5.125 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.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002497/0.002497, allocations: 291.3 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.311/1.311, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002966/0.002966, allocations: 99.09 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1831, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001796/0.1849, allocations: 0.5843 MB / 0.8333 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.1854, allocations: 183.8 kB / 0.8335 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.1855, allocations: 4 kB / 0.8335 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1855, allocations: 0 / 0.8335 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.1855, allocations: 4 kB / 0.8335 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1859, allocations: 56.81 kB / 0.8336 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.186, allocations: 0 / 0.8336 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.186, allocations: 0 / 0.8336 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.186, allocations: 4 kB / 0.8336 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.186, allocations: 0 / 0.8336 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.186, allocations: 0 / 0.8336 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1862, allocations: 63.86 kB / 0.8336 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.1862, allocations: 0 / 0.8336 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.1862, allocations: 8 kB / 0.8337 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1863, allocations: 44.09 kB / 0.8337 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1864, allocations: 3.938 kB / 0.8337 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1864, allocations: 0 / 0.8337 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1864, allocations: 0 / 0.8337 GB, free: 7.664 MB / 0.5762 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.0002983/0.1867, allocations: 234.4 kB / 0.8339 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1867, allocations: 17.33 kB / 0.8339 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1867, allocations: 30.75 kB / 0.834 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.1868, allocations: 0.9375 kB / 0.834 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.352e-05/0.1868, allocations: 110.5 kB / 0.8341 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1869, allocations: 4.375 kB / 0.8341 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.1869, allocations: 8.359 kB / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.187, allocations: 26.27 kB / 0.8341 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.187, allocations: 3.938 kB / 0.8341 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.187, allocations: 0 / 0.8341 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.187, allocations: 0 / 0.8341 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.187, allocations: 4 kB / 0.8341 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1871, allocations: 120.8 kB / 0.8342 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.1872, allocations: 26.55 kB / 0.8343 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.1872, allocations: 4.859 kB / 0.8343 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/0.1878, allocations: 67.98 kB / 0.8343 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1878, allocations: 30.56 kB / 0.8344 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1878, allocations: 4 kB / 0.8344 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1879, allocations: 37.62 kB / 0.8344 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.188, allocations: 55.41 kB / 0.8345 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.188, allocations: 89.86 kB / 0.8345 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1881, allocations: 25.7 kB / 0.8346 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.1881, allocations: 84.08 kB / 0.8346 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1881, allocations: 0 / 0.8346 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.1881, allocations: 13.72 kB / 0.8347 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1883, allocations: 319 kB / 0.835 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.1883, allocations: 0 / 0.835 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.1883, allocations: 0 / 0.835 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.1883, allocations: 8.859 kB / 0.835 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1883, allocations: 0 / 0.835 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.406e-05/0.1884, allocations: 37.69 kB / 0.835 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1884, allocations: 11.94 kB / 0.835 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1884, allocations: 3.938 kB / 0.835 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1884, allocations: 4.094 kB / 0.835 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.1884, allocations: 3.938 kB / 0.835 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1884, allocations: 0 / 0.835 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.1885, allocations: 0 / 0.835 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1885, allocations: 4 kB / 0.835 GB, free: 6.105 MB / 0.5762 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.258e-05/0.1885, allocations: 106.5 kB / 0.8351 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.1885, allocations: 7.922 kB / 0.8351 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.1886, allocations: 36.64 kB / 0.8352 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1886, allocations: 4.031 kB / 0.8352 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1886, allocations: 0 / 0.8352 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1886, allocations: 4 kB / 0.8352 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.1887, allocations: 124.8 kB / 0.8353 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1887, allocations: 0 / 0.8353 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.1887, allocations: 0 / 0.8353 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1887, allocations: 0 / 0.8353 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1888, allocations: 7.938 kB / 0.8353 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1888, allocations: 0 / 0.8353 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1888, allocations: 3.938 kB / 0.8353 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.173e-05/0.1888, allocations: 57.12 kB / 0.8354 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.1888, allocations: 4 kB / 0.8354 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.1888, allocations: 7.938 kB / 0.8354 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.1889, allocations: 0 / 0.8354 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-06/0.1889, allocations: 0 / 0.8354 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1889, allocations: 0 / 0.8354 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.1889, allocations: 75.28 kB / 0.8354 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1889, allocations: 0 / 0.8354 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000195/0.1891, allocations: 19.97 kB / 0.8355 GB, free: 5.578 MB / 0.5762 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.0004745/0.1896, allocations: 0.6201 MB / 0.8361 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.1896, allocations: 4 kB / 0.8361 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1896, allocations: 0 / 0.8361 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.1896, allocations: 4 kB / 0.8361 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1898, allocations: 4.766 kB / 0.8361 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.1901, allocations: 112.3 kB / 0.8362 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1904, allocations: 0.6729 MB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.262e-05/0.1904, allocations: 3.984 kB / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.1904, allocations: 15.5 kB / 0.8369 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1904, allocations: 0 / 0.8369 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.2164, allocations: 1.257 MB / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.42, allocations: 5.547 kB / 0.8381 GB, free: 2.922 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.064412960000482] Failed to read output from testmodel.py, exit status != 0: 10.524054997000349 10.552532332 10.360573172 Calling exit ...