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.00127/0.00127, allocations: 110.5 kB / 19.58 MB, free: 2.34 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.001539/0.001539, allocations: 209.8 kB / 22.87 MB, free: 5.621 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.412/1.412, allocations: 230.5 MB / 256.5 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 284.2 kB / 313.2 MB, free: 2.891 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.215/1.215, allocations: 180.8 MB / 0.5376 GB, free: 12.99 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [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.002902/0.002902, allocations: 106.9 kB / 0.7406 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1836, allocations: 95.38 MB / 0.8337 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001776/0.1853, allocations: 0.5922 MB / 0.8343 GB, free: 7.402 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.1859, allocations: 187.8 kB / 0.8345 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.1859, allocations: 0 / 0.8345 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1859, allocations: 0 / 0.8345 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1859, allocations: 4 kB / 0.8345 GB, free: 7.215 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.1863, allocations: 55.73 kB / 0.8346 GB, free: 7.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.394e-05/0.1863, allocations: 0 / 0.8346 GB, free: 7.16 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.1864, allocations: 3.984 kB / 0.8346 GB, free: 7.156 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.1864, allocations: 4 kB / 0.8346 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 2.008e-05/0.1864, allocations: 0 / 0.8346 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.1864, allocations: 0 / 0.8346 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1866, allocations: 55.89 kB / 0.8346 GB, free: 7.098 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1866, allocations: 7.984 kB / 0.8346 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.1866, allocations: 4 kB / 0.8346 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1867, allocations: 35.83 kB / 0.8347 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1867, allocations: 0 / 0.8347 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1867, allocations: 0 / 0.8347 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1867, allocations: 0 / 0.8347 GB, free: 7.051 MB / 0.5763 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.0003248/0.187, allocations: 250.3 kB / 0.8349 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1871, allocations: 13.94 kB / 0.8349 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.1871, allocations: 0.9375 kB / 0.8349 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.1872, allocations: 106.5 kB / 0.835 GB, free: 6.633 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.1872, allocations: 384 / 0.835 GB, free: 6.633 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1872, allocations: 4.375 kB / 0.835 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.1873, allocations: 26.27 kB / 0.8351 GB, free: 6.598 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1873, allocations: 192 / 0.8351 GB, free: 6.598 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1873, allocations: 7.922 kB / 0.8351 GB, free: 6.59 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1873, allocations: 0 / 0.8351 GB, free: 6.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.1873, allocations: 4 kB / 0.8351 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.1875, allocations: 120.8 kB / 0.8352 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.1875, allocations: 22.52 kB / 0.8352 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.1875, allocations: 8.953 kB / 0.8352 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.1881, allocations: 67.92 kB / 0.8353 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1881, allocations: 34.56 kB / 0.8353 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1881, allocations: 0 / 0.8353 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.1882, allocations: 37.62 kB / 0.8353 GB, free: 6.23 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1883, allocations: 59.28 kB / 0.8354 GB, free: 6.16 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.1883, allocations: 93.86 kB / 0.8355 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1883, allocations: 25.7 kB / 0.8355 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1883, allocations: 84.14 kB / 0.8356 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1884, allocations: 0 / 0.8356 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.1884, allocations: 9.844 kB / 0.8356 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1885, allocations: 318.8 kB / 0.8359 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.1885, allocations: 0 / 0.8359 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.1885, allocations: 0 / 0.8359 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1886, allocations: 12.84 kB / 0.8359 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1886, allocations: 0 / 0.8359 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.1886, allocations: 37.64 kB / 0.836 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1886, allocations: 4 kB / 0.836 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1886, allocations: 8.031 kB / 0.836 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1887, allocations: 7.938 kB / 0.836 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.1887, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1887, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-06/0.1887, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1887, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5763 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.449e-05/0.1888, allocations: 114.5 kB / 0.8361 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.1888, allocations: 0 / 0.8361 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.1889, allocations: 40.64 kB / 0.8361 GB, free: 5.359 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1889, allocations: 4.031 kB / 0.8361 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1889, allocations: 0 / 0.8361 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1889, allocations: 0 / 0.8361 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.189, allocations: 124.7 kB / 0.8362 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.189, allocations: 0 / 0.8362 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.189, allocations: 7.938 kB / 0.8363 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.189, allocations: 0 / 0.8363 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.189, allocations: 3.938 kB / 0.8363 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.189, allocations: 0 / 0.8363 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.189, allocations: 4 kB / 0.8363 GB, free: 5.176 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.652e-05/0.1891, allocations: 61.12 kB / 0.8363 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.1891, allocations: 0 / 0.8363 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1891, allocations: 7.938 kB / 0.8363 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.1891, allocations: 0 / 0.8363 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1891, allocations: 0 / 0.8363 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.1891, allocations: 0 / 0.8363 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1891, allocations: 75.28 kB / 0.8364 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 0.8364 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001939/0.1893, allocations: 19.97 kB / 0.8364 GB, free: 4.996 MB / 0.5763 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.0001997/0.1895, allocations: 115.2 kB / 0.8365 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.1896, allocations: 11.88 kB / 0.8365 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1896, allocations: 4 kB / 0.8365 GB, free: 4.855 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.1896, allocations: 4.062 kB / 0.8365 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1897, allocations: 4 kB / 0.8365 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.1899, allocations: 80.98 kB / 0.8366 GB, free: 4.742 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.19, allocations: 55.36 kB / 0.8367 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 9.547e-06/0.19, allocations: 3.938 kB / 0.8367 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.19, allocations: 7.438 kB / 0.8367 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of SimCode: time 3.8e-07/0.19, allocations: 0 / 0.8367 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of Templates: time 0.002672/0.1927, allocations: 422 kB / 0.8371 GB, free: 4.246 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.822090264002327] Failed to read output from testmodel.py, exit status != 0: 0.19988831800583284 0.21563654100000001 0.025903876000000003 Calling exit ...