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.001593/0.001593, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001687/0.001687, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.002445/0.002445, allocations: 291.2 kB / 313.5 MB, free: 2.844 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.0028/0.0028, allocations: 101.7 kB / 0.7408 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1711, allocations: 95.39 MB / 0.834 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00181/0.1729, allocations: 0.5883 MB / 0.8346 GB, free: 7.535 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.1734, allocations: 191.7 kB / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.1734, allocations: 0 / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1735, allocations: 0 / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.1735, allocations: 0 / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.1738, allocations: 55.83 kB / 0.8348 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.1738, allocations: 7.984 kB / 0.8348 GB, free: 7.285 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.1739, allocations: 4 kB / 0.8348 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.1739, allocations: 0 / 0.8348 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.1739, allocations: 0 / 0.8348 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1739, allocations: 0 / 0.8348 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1741, allocations: 59.88 kB / 0.8349 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-06/0.1741, allocations: 0 / 0.8349 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.1741, allocations: 4 kB / 0.8349 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1742, allocations: 35.88 kB / 0.8349 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1742, allocations: 3.938 kB / 0.8349 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1742, allocations: 4 kB / 0.8349 GB, free: 7.176 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.1742, allocations: 0 / 0.8349 GB, free: 7.176 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.0002968/0.1745, allocations: 242.4 kB / 0.8352 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1746, allocations: 9.344 kB / 0.8352 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1746, allocations: 12.88 kB / 0.8352 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.1747, allocations: 102.5 kB / 0.8353 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1747, allocations: 384 / 0.8353 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1747, allocations: 384 / 0.8353 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.1748, allocations: 34.25 kB / 0.8353 GB, free: 6.723 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1748, allocations: 4.188 kB / 0.8353 GB, free: 6.719 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1748, allocations: 3.938 kB / 0.8353 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1748, allocations: 0 / 0.8353 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.1748, allocations: 3.938 kB / 0.8353 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.175, allocations: 120.8 kB / 0.8354 GB, free: 6.551 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.175, allocations: 14.58 kB / 0.8354 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.175, allocations: 4.859 kB / 0.8355 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.1755, allocations: 76 kB / 0.8355 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1756, allocations: 34.56 kB / 0.8356 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1756, allocations: 0 / 0.8356 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1757, allocations: 37.58 kB / 0.8356 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1757, allocations: 51.53 kB / 0.8356 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.1758, allocations: 93.86 kB / 0.8357 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1758, allocations: 25.7 kB / 0.8358 GB, free: 6.164 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.1758, allocations: 80.14 kB / 0.8358 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.1759, allocations: 4 kB / 0.8358 GB, free: 6.078 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.1759, allocations: 13.72 kB / 0.8359 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.176, allocations: 314.8 kB / 0.8362 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-06/0.176, allocations: 0 / 0.8362 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.176, allocations: 4 kB / 0.8362 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.1761, allocations: 12.86 kB / 0.8362 GB, free: 5.723 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1761, allocations: 0 / 0.8362 GB, free: 5.723 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.238e-05/0.1761, allocations: 37.7 kB / 0.8362 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1761, allocations: 4 kB / 0.8362 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1761, allocations: 0 / 0.8362 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1762, allocations: 7.875 kB / 0.8362 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.708e-05/0.1762, allocations: 7.984 kB / 0.8362 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1762, allocations: 3.984 kB / 0.8362 GB, free: 5.656 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-06/0.1762, allocations: 32 / 0.8362 GB, free: 5.656 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1762, allocations: 4 kB / 0.8362 GB, free: 5.652 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.732e-05/0.1763, allocations: 106.5 kB / 0.8363 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.1763, allocations: 0 / 0.8363 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.1764, allocations: 44.58 kB / 0.8364 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1764, allocations: 0 / 0.8364 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1764, allocations: 3.984 kB / 0.8364 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1764, allocations: 3.984 kB / 0.8364 GB, free: 5.48 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.881e-05/0.1765, allocations: 116.8 kB / 0.8365 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.1765, allocations: 11.97 kB / 0.8365 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.1765, allocations: 4 kB / 0.8365 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1765, allocations: 0 / 0.8365 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1765, allocations: 3.938 kB / 0.8365 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1765, allocations: 0 / 0.8365 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1765, allocations: 0 / 0.8365 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.727e-05/0.1766, allocations: 61.12 kB / 0.8366 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-06/0.1766, allocations: 0 / 0.8366 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.1766, allocations: 11.91 kB / 0.8366 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.1766, allocations: 0 / 0.8366 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.1766, allocations: 0 / 0.8366 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1766, allocations: 4 kB / 0.8366 GB, free: 5.211 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.1766, allocations: 75.28 kB / 0.8367 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 0 / 0.8367 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001966/0.1768, allocations: 15.92 kB / 0.8367 GB, free: 5.121 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.0001941/0.177, allocations: 115.2 kB / 0.8368 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.1771, allocations: 7.984 kB / 0.8368 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1771, allocations: 0 / 0.8368 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.1771, allocations: 0 / 0.8368 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1772, allocations: 4.859 kB / 0.8368 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.1774, allocations: 106.8 kB / 0.8369 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1777, allocations: 0.6768 MB / 0.8376 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.1777, allocations: 7.438 kB / 0.8376 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of SimCode: time 3.11e-07/0.1777, allocations: 3.938 kB / 0.8376 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of Templates: time 0.002126/0.1799, allocations: 0.5557 MB / 0.8381 GB, free: 3.578 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.030988714890555] Failed to read output from testmodel.py, exit status != 0: 0.18744164006784558 0.202019316 0.024869266 Calling exit ...