Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.001379/0.001379, 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.001477/0.001477, allocations: 214 kB / 22.25 MB, free: 5.258 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.801 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.002502/0.002502, allocations: 282.7 kB / 312.7 MB, free: 2.625 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [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.003068/0.003068, allocations: 105.7 kB / 0.74 GB, free: 27.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.175, allocations: 95.39 MB / 0.8332 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001645/0.1767, allocations: 0.5903 MB / 0.8337 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.1772, allocations: 175.8 kB / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.1772, allocations: 0 / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.1772, allocations: 0 / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.1772, allocations: 0 / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1775, allocations: 59.75 kB / 0.834 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.492e-05/0.1776, allocations: 4 kB / 0.834 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1776, allocations: 7.984 kB / 0.834 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.212e-05/0.1776, allocations: 0 / 0.834 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.186e-05/0.1777, allocations: 3.984 kB / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.1777, allocations: 0 / 0.834 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1778, allocations: 55.89 kB / 0.834 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1778, allocations: 3.938 kB / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.1779, allocations: 0 / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.178, allocations: 39.88 kB / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.178, allocations: 0 / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.178, allocations: 4 kB / 0.8341 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.178, allocations: 0 / 0.8341 GB, free: 6.848 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.0003029/0.1783, allocations: 250.4 kB / 0.8343 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1783, allocations: 9.344 kB / 0.8343 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1784, allocations: 0.9375 kB / 0.8343 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.1784, allocations: 110.5 kB / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1785, allocations: 384 / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.1785, allocations: 384 / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.1785, allocations: 34.25 kB / 0.8345 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1786, allocations: 4.125 kB / 0.8345 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1786, allocations: 3.938 kB / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1786, allocations: 4 kB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.1786, allocations: 8 kB / 0.8345 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.1787, allocations: 97.33 kB / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.1788, allocations: 14.58 kB / 0.8346 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.1788, allocations: 4.859 kB / 0.8346 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/0.1793, allocations: 84 kB / 0.8347 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1794, allocations: 30.56 kB / 0.8347 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.093e-06/0.1794, allocations: 3.938 kB / 0.8347 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1795, allocations: 37.64 kB / 0.8348 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1795, allocations: 51.41 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.1796, allocations: 93.86 kB / 0.8349 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1796, allocations: 25.7 kB / 0.8349 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1796, allocations: 88.06 kB / 0.835 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1797, allocations: 0 / 0.835 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1797, allocations: 9.719 kB / 0.835 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1798, allocations: 319 kB / 0.8353 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.1798, allocations: 0 / 0.8353 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.1798, allocations: 0 / 0.8353 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.1799, allocations: 16.8 kB / 0.8353 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1799, allocations: 0 / 0.8353 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.217e-05/0.1799, allocations: 29.7 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1799, allocations: 11.98 kB / 0.8354 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1799, allocations: 0 / 0.8354 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.18, allocations: 0 / 0.8354 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.18, allocations: 8.031 kB / 0.8354 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.18, allocations: 0 / 0.8354 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.18, allocations: 0 / 0.8354 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.18, allocations: 4 kB / 0.8354 GB, free: 5.348 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.561e-05/0.1801, allocations: 106.5 kB / 0.8355 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-06/0.1801, allocations: 0 / 0.8355 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.1802, allocations: 44.62 kB / 0.8355 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1802, allocations: 7.922 kB / 0.8355 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1802, allocations: 4 kB / 0.8355 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1802, allocations: 0 / 0.8355 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.1803, allocations: 97.36 kB / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1803, allocations: 0 / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.1803, allocations: 3.938 kB / 0.8356 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1803, allocations: 4 kB / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1803, allocations: 0 / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1803, allocations: 0 / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1803, allocations: 3.938 kB / 0.8356 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.256e-05/0.1804, allocations: 65.06 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-06/0.1804, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.1804, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.1804, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.1804, allocations: 7.969 kB / 0.8357 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-06/0.1804, allocations: 11.98 kB / 0.8357 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.1804, allocations: 75.28 kB / 0.8358 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1804, allocations: 3.938 kB / 0.8358 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001933/0.1806, allocations: 11.94 kB / 0.8358 GB, free: 4.844 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.0001912/0.1808, allocations: 115.2 kB / 0.8359 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.1809, allocations: 11.98 kB / 0.8359 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1809, allocations: 0 / 0.8359 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.1809, allocations: 4 kB / 0.8359 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.0001268/0.181, allocations: 0 / 0.8359 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.1812, allocations: 84.86 kB / 0.836 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.1813, allocations: 51.36 kB / 0.8361 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.214e-05/0.1813, allocations: 3.984 kB / 0.8361 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1813, allocations: 11.44 kB / 0.8361 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1813, allocations: 0 / 0.8361 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.002664/0.184, allocations: 403.2 kB / 0.8365 GB, free: 4.121 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.007212223485112] Failed to read output from testmodel.py, exit status != 0: 0.19152887538075447 0.207184113 0.026199832000000003 Calling exit ...