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.001542/0.001542, 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.001712/0.001712, allocations: 218.5 kB / 22.99 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.00246/0.00246, allocations: 288.1 kB / 313.5 MB, free: 2.652 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.185/1.185, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.002893/0.002893, allocations: 96.33 kB / 0.7407 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1714, allocations: 95.38 MB / 0.8339 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002626/0.1741, allocations: 1.464 MB / 0.8353 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005288/0.1746, allocations: 228.1 kB / 0.8355 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1746, allocations: 0 / 0.8355 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.1746, allocations: 3.938 kB / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.1747, allocations: 0 / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.175, allocations: 59.73 kB / 0.8356 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.1751, allocations: 23.92 kB / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.1751, allocations: 4 kB / 0.8356 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.1752, allocations: 11.92 kB / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.1752, allocations: 7.984 kB / 0.8356 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1752, allocations: 4 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1754, allocations: 67.88 kB / 0.8357 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1754, allocations: 3.938 kB / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.1754, allocations: 4 kB / 0.8357 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1755, allocations: 51.8 kB / 0.8357 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1755, allocations: 4 kB / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1755, allocations: 0 / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1755, allocations: 0 / 0.8357 GB, free: 5.957 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.0004514/0.176, allocations: 270.2 kB / 0.836 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.176, allocations: 13.88 kB / 0.836 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1761, allocations: 12.88 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1762, allocations: 106.5 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1762, allocations: 4.375 kB / 0.8361 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1762, allocations: 4.375 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1764, allocations: 54.17 kB / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1764, allocations: 192 / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1764, allocations: 3.938 kB / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1764, allocations: 0 / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1765, allocations: 31.97 kB / 0.8362 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1768, allocations: 196.6 kB / 0.8364 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.177, allocations: 36.17 kB / 0.8364 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.1771, allocations: 24.89 kB / 0.8365 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.1775, allocations: 79.86 kB / 0.8365 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1776, allocations: 42.48 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1776, allocations: 0 / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.1779, allocations: 81.64 kB / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.178, allocations: 51.41 kB / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.1781, allocations: 97.8 kB / 0.8368 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1781, allocations: 33.69 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1781, allocations: 88.09 kB / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1782, allocations: 4.078 kB / 0.8369 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1782, allocations: 13.72 kB / 0.8369 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1784, allocations: 318.8 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.1784, allocations: 11.98 kB / 0.8373 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1785, allocations: 19.97 kB / 0.8373 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1786, allocations: 36.83 kB / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1786, allocations: 0 / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1788, allocations: 73.66 kB / 0.8374 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1788, allocations: 4 kB / 0.8374 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1789, allocations: 0 / 0.8374 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1789, allocations: 3.938 kB / 0.8374 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.1789, allocations: 11.98 kB / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1789, allocations: 0 / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.179, allocations: 4 kB / 0.8374 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.179, allocations: 0 / 0.8374 GB, free: 4.086 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.623e-05/0.1791, allocations: 122.5 kB / 0.8375 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1791, allocations: 3.938 kB / 0.8375 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1793, allocations: 68.97 kB / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1793, allocations: 0 / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1793, allocations: 0 / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1793, allocations: 0 / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1795, allocations: 117.2 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1795, allocations: 0 / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.1795, allocations: 15.97 kB / 0.8377 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1795, allocations: 3.938 kB / 0.8377 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1795, allocations: 3.984 kB / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1795, allocations: 0 / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1795, allocations: 0 / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1798, allocations: 163.5 kB / 0.8379 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.1798, allocations: 11.88 kB / 0.8379 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1798, allocations: 0 / 0.8379 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1799, allocations: 8.031 kB / 0.8379 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1799, allocations: 3.984 kB / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1799, allocations: 0 / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.18, allocations: 83.28 kB / 0.838 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.18, allocations: 0 / 0.838 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002357/0.1802, allocations: 15.94 kB / 0.838 GB, free: 3.41 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.0001936/0.1804, allocations: 119.2 kB / 0.8381 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1806, allocations: 43.89 kB / 0.8382 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1806, allocations: 0 / 0.8382 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.1807, allocations: 19.98 kB / 0.8382 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.1809, allocations: 4 kB / 0.8382 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.1812, allocations: 127.3 kB / 0.8383 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.1813, allocations: 63.47 kB / 0.8384 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.1813, allocations: 7.438 kB / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1813, allocations: 0 / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.002277/0.1836, allocations: 0.7853 MB / 0.8391 GB, free: 2.188 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.103001925162971] Failed to read output from testmodel.py, exit status != 0: 0.1910713859833777 0.206073857 0.027553710000000002 Calling exit ...