Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001938/0.001938, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001547/0.001547, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.789 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.002612/0.002612, allocations: 290.8 kB / 312.7 MB, free: 2.691 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.265/1.265, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] 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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004102/0.004102, allocations: 102.2 kB / 0.7395 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.18, allocations: 95.38 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003478/0.1835, allocations: 1.458 MB / 0.8341 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.1841, allocations: 220.2 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1841, allocations: 4 kB / 0.8343 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.1842, allocations: 3.938 kB / 0.8343 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.1842, allocations: 0 / 0.8343 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1846, allocations: 63.75 kB / 0.8344 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.741e-05/0.1846, allocations: 27.92 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.1847, allocations: 0 / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1848, allocations: 8 kB / 0.8344 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1848, allocations: 11.92 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1848, allocations: 4 kB / 0.8344 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.185, allocations: 59.88 kB / 0.8345 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.185, allocations: 7.984 kB / 0.8345 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.185, allocations: 11.94 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1852, allocations: 44.16 kB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1852, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1852, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1852, allocations: 0 / 0.8345 GB, free: 6.379 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004516/0.1856, allocations: 274.2 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1857, allocations: 13.34 kB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1857, allocations: 34.75 kB / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1857, allocations: 8.875 kB / 0.8348 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1859, allocations: 118.4 kB / 0.8349 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1859, allocations: 4.375 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.1859, allocations: 384 / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1861, allocations: 50.23 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1861, allocations: 3.938 kB / 0.835 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1861, allocations: 4 kB / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1861, allocations: 0 / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1863, allocations: 31.97 kB / 0.835 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1866, allocations: 220 kB / 0.8352 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1867, allocations: 40.17 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.1868, allocations: 24.88 kB / 0.8353 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/0.1873, allocations: 75.92 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1873, allocations: 34.56 kB / 0.8354 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1873, allocations: 0 / 0.8354 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1877, allocations: 85.58 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1877, allocations: 51.41 kB / 0.8355 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1878, allocations: 101.8 kB / 0.8356 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1878, allocations: 25.83 kB / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.1879, allocations: 92.09 kB / 0.8358 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.1879, allocations: 3.953 kB / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1879, allocations: 13.72 kB / 0.8358 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.188, allocations: 314.8 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.1881, allocations: 15.97 kB / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.1882, allocations: 15.98 kB / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1883, allocations: 40.89 kB / 0.8361 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1883, allocations: 3.938 kB / 0.8361 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.1885, allocations: 69.59 kB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1885, allocations: 4 kB / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1885, allocations: 0 / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1886, allocations: 0 / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.1886, allocations: 11.98 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1886, allocations: 7.938 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1887, allocations: 12.02 kB / 0.8362 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1887, allocations: 0 / 0.8362 GB, free: 4.414 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 (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.766e-05/0.1888, allocations: 118.4 kB / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.1888, allocations: 0 / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.189, allocations: 72.91 kB / 0.8364 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.189, allocations: 4 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.189, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.189, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1892, allocations: 128.7 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1892, allocations: 0 / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1892, allocations: 19.92 kB / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1892, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1892, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1892, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1892, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1895, allocations: 163.4 kB / 0.8367 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1895, allocations: 8.031 kB / 0.8367 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1895, allocations: 0 / 0.8367 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1896, allocations: 11.98 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1896, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1896, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.1896, allocations: 83.22 kB / 0.8368 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1896, allocations: 0 / 0.8368 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00023/0.1899, allocations: 19.92 kB / 0.8368 GB, free: 3.719 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 (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.000608/0.1905, allocations: 0.7085 MB / 0.8375 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1907, allocations: 43.95 kB / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1907, allocations: 0 / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1908, allocations: 24.02 kB / 0.8376 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.191, allocations: 5.875 kB / 0.8376 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1914, allocations: 143.2 kB / 0.8377 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.1914, allocations: 55.36 kB / 0.8378 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1915, allocations: 7.938 kB / 0.8378 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.1915, allocations: 11.42 kB / 0.8378 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1915, allocations: 0 / 0.8378 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2201, allocations: 2.067 MB / 0.8398 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.51, allocations: 14.25 kB / 0.8399 GB, free: 0.6953 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.805551012977958] Failed to read output from testmodel.py, exit status != 0: 11.614758741110563 11.630984858 11.442512617 Calling exit ...