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.001411/0.001411, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001648/0.001648, allocations: 220.7 kB / 23 MB, free: 4.914 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002517/0.002517, allocations: 291.8 kB / 313.5 MB, free: 2.613 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.156/1.156, allocations: 180.6 MB / 0.5377 GB, free: 14.68 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: 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.00323/0.00323, allocations: 104.8 kB / 0.7408 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1818, allocations: 95.37 MB / 0.8339 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001863/0.1837, allocations: 0.5979 MB / 0.8345 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004975/0.1842, allocations: 167.8 kB / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.1842, allocations: 0 / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.1842, allocations: 0 / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1842, allocations: 4 kB / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1846, allocations: 59.72 kB / 0.8347 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.692e-05/0.1847, allocations: 0 / 0.8347 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1847, allocations: 4 kB / 0.8347 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.127e-05/0.1847, allocations: 0 / 0.8347 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.991e-05/0.1847, allocations: 0 / 0.8347 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.1847, allocations: 3.938 kB / 0.8347 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1849, allocations: 55.88 kB / 0.8348 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1849, allocations: 4 kB / 0.8348 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.1849, allocations: 3.984 kB / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.185, allocations: 31.91 kB / 0.8348 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.185, allocations: 4 kB / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.185, allocations: 0 / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.1851, allocations: 3.984 kB / 0.8348 GB, free: 6.844 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.0002996/0.1854, allocations: 242.4 kB / 0.835 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1854, allocations: 13.28 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1854, allocations: 0.9375 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.652e-05/0.1855, allocations: 106.5 kB / 0.8352 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1855, allocations: 4.375 kB / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1855, allocations: 4.359 kB / 0.8352 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.1856, allocations: 26.27 kB / 0.8352 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1856, allocations: 4.188 kB / 0.8352 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1856, allocations: 3.938 kB / 0.8352 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1856, allocations: 7.938 kB / 0.8352 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1857, allocations: 0 / 0.8352 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.1858, allocations: 93.33 kB / 0.8353 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.1858, allocations: 26.55 kB / 0.8353 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.1858, allocations: 4.859 kB / 0.8353 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.1864, allocations: 75.97 kB / 0.8354 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1864, allocations: 34.56 kB / 0.8354 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.1864, allocations: 0 / 0.8354 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.1866, allocations: 33.64 kB / 0.8355 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1866, allocations: 55.34 kB / 0.8355 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.1867, allocations: 93.8 kB / 0.8356 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1867, allocations: 29.7 kB / 0.8356 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1867, allocations: 80.14 kB / 0.8357 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1867, allocations: 128 / 0.8357 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1868, allocations: 21.7 kB / 0.8357 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1869, allocations: 314.8 kB / 0.836 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-06/0.1869, allocations: 0 / 0.836 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.1869, allocations: 0 / 0.836 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.1869, allocations: 8.859 kB / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1869, allocations: 0 / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.624e-05/0.187, allocations: 29.7 kB / 0.8361 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.187, allocations: 11.94 kB / 0.8361 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.187, allocations: 0 / 0.8361 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.187, allocations: 4.094 kB / 0.8361 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/0.1871, allocations: 7.922 kB / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1871, allocations: 0 / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.1871, allocations: 0 / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1871, allocations: 4 kB / 0.8361 GB, free: 5.355 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.685e-05/0.1872, allocations: 110.5 kB / 0.8362 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.1872, allocations: 0 / 0.8362 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.1872, allocations: 36.69 kB / 0.8362 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1872, allocations: 3.938 kB / 0.8362 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1873, allocations: 4 kB / 0.8362 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1873, allocations: 12.02 kB / 0.8362 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.865e-05/0.1873, allocations: 93.33 kB / 0.8363 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1873, allocations: 0 / 0.8363 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.1874, allocations: 0 / 0.8363 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1874, allocations: 7.938 kB / 0.8363 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.1874, allocations: 0 / 0.8363 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1874, allocations: 0 / 0.8363 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1874, allocations: 3.938 kB / 0.8363 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.29e-05/0.1874, allocations: 61.12 kB / 0.8364 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-06/0.1874, allocations: 3.938 kB / 0.8364 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.1875, allocations: 4.031 kB / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.1875, allocations: 0 / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.1875, allocations: 3.938 kB / 0.8364 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1875, allocations: 7.938 kB / 0.8364 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1875, allocations: 79.28 kB / 0.8365 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1875, allocations: 0 / 0.8365 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000199/0.1877, allocations: 15.92 kB / 0.8365 GB, free: 4.852 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.0001916/0.1879, allocations: 119.2 kB / 0.8366 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.191e-05/0.188, allocations: 11.94 kB / 0.8366 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.188, allocations: 0 / 0.8366 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/0.188, allocations: 7.984 kB / 0.8367 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1881, allocations: 0 / 0.8367 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.1883, allocations: 106.7 kB / 0.8368 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.1884, allocations: 51.36 kB / 0.8368 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.1884, allocations: 7.438 kB / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1884, allocations: 128 / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.002063/0.1904, allocations: 0.5596 MB / 0.8374 GB, free: 3.93 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.060256076045334] Failed to read output from testmodel.py, exit status != 0: 0.19793420191854239 0.21282922599999995 0.024811548000000003 Calling exit ...