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.001575/0.001575, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001574/0.001574, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.002554/0.002554, allocations: 295.6 kB / 313.5 MB, free: 2.766 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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.002774/0.002774, allocations: 97.11 kB / 0.7408 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1704, allocations: 95.38 MB / 0.834 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002772/0.1732, allocations: 1.467 MB / 0.8354 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005416/0.1738, allocations: 244.1 kB / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1738, allocations: 4 kB / 0.8356 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.1738, allocations: 3.938 kB / 0.8356 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.1738, allocations: 3.984 kB / 0.8356 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1742, allocations: 55.83 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.1743, allocations: 19.94 kB / 0.8357 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.1743, allocations: 11.98 kB / 0.8357 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.1744, allocations: 15.92 kB / 0.8357 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.1744, allocations: 7.984 kB / 0.8357 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.1744, allocations: 3.938 kB / 0.8357 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1746, allocations: 59.89 kB / 0.8358 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1746, allocations: 7.984 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1746, allocations: 7.938 kB / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1747, allocations: 51.86 kB / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1748, allocations: 0 / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1748, allocations: 0 / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.1748, allocations: 7.938 kB / 0.8359 GB, free: 6.121 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.0004239/0.1752, allocations: 266.3 kB / 0.8361 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1752, allocations: 13.34 kB / 0.8361 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.1752, allocations: 4.891 kB / 0.8361 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1754, allocations: 114.4 kB / 0.8363 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1754, allocations: 4.359 kB / 0.8363 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1754, allocations: 384 / 0.8363 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1755, allocations: 50.25 kB / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1755, allocations: 192 / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1756, allocations: 3.938 kB / 0.8363 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1756, allocations: 3.984 kB / 0.8363 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1757, allocations: 31.97 kB / 0.8363 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.176, allocations: 216 kB / 0.8366 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1762, allocations: 52.14 kB / 0.8366 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1762, allocations: 16.91 kB / 0.8366 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.1767, allocations: 71.92 kB / 0.8367 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1767, allocations: 38.56 kB / 0.8367 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1767, allocations: 0 / 0.8367 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.1771, allocations: 81.58 kB / 0.8368 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1771, allocations: 55.41 kB / 0.8369 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.1772, allocations: 105.8 kB / 0.837 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1772, allocations: 25.83 kB / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.1772, allocations: 88.09 kB / 0.8371 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1773, allocations: 7.953 kB / 0.8371 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.1773, allocations: 13.72 kB / 0.8371 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1774, allocations: 314.8 kB / 0.8374 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.1775, allocations: 15.98 kB / 0.8374 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1776, allocations: 15.98 kB / 0.8374 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1777, allocations: 44.88 kB / 0.8375 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1777, allocations: 0 / 0.8375 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.1779, allocations: 65.55 kB / 0.8375 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1779, allocations: 8 kB / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1779, allocations: 0 / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1779, allocations: 0 / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.178, allocations: 12.02 kB / 0.8375 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.178, allocations: 4 kB / 0.8375 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.178, allocations: 7.984 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.178, allocations: 0 / 0.8376 GB, free: 4.219 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 7.819e-05/0.1781, allocations: 114.4 kB / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1781, allocations: 0 / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1783, allocations: 76.91 kB / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1783, allocations: 0 / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1784, allocations: 11.88 kB / 0.8377 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1784, allocations: 3.984 kB / 0.8377 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1785, allocations: 136.7 kB / 0.8379 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1785, allocations: 4 kB / 0.8379 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.1786, allocations: 7.984 kB / 0.8379 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1786, allocations: 0 / 0.8379 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.1786, allocations: 0 / 0.8379 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1786, allocations: 0 / 0.8379 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1786, allocations: 8.031 kB / 0.8379 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1788, allocations: 159.4 kB / 0.8381 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.1788, allocations: 4 kB / 0.8381 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1788, allocations: 4 kB / 0.8381 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1789, allocations: 7.984 kB / 0.8381 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1789, allocations: 4.031 kB / 0.8381 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1789, allocations: 0 / 0.8381 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.179, allocations: 79.28 kB / 0.8381 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.179, allocations: 0 / 0.8381 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002295/0.1792, allocations: 27.86 kB / 0.8382 GB, free: 3.504 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.0001812/0.1794, allocations: 117.1 kB / 0.8383 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1796, allocations: 35.95 kB / 0.8383 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1796, allocations: 0 / 0.8383 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1797, allocations: 15.98 kB / 0.8383 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1799, allocations: 14.12 kB / 0.8383 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.1802, allocations: 131.5 kB / 0.8385 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1804, allocations: 0.6768 MB / 0.8391 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.1805, allocations: 11.38 kB / 0.8391 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1805, allocations: 0 / 0.8391 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.002308/0.1828, allocations: 0.7861 MB / 0.8399 GB, free: 1.66 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.134644532110542] Failed to read output from testmodel.py, exit status != 0: 0.1899690048303455 0.204882637 0.027204295000000003 Calling exit ...