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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 191.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 286 kB / 306.5 MB, free: 8.328 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.173/1.173, allocations: 180.9 MB / 0.53 GB, free: 14.45 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 100.9 kB / 0.7308 GB, free: 38.6 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1697, allocations: 94.2 MB / 0.8228 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002746/0.1724, allocations: 1.455 MB / 0.8243 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006128/0.1731, allocations: 244.1 kB / 0.8245 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.1731, allocations: 0 / 0.8245 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.1731, allocations: 7.938 kB / 0.8245 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.1732, allocations: 3.984 kB / 0.8245 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.1736, allocations: 55.83 kB / 0.8245 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.1736, allocations: 23.92 kB / 0.8246 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1737, allocations: 4 kB / 0.8246 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.1738, allocations: 19.91 kB / 0.8246 GB, free: 0 / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1738, allocations: 4.078 kB / 0.8246 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1739, allocations: 4 kB / 0.8246 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.174, allocations: 67.81 kB / 0.8247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1741, allocations: 0 / 0.8247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1741, allocations: 11.94 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1742, allocations: 55.77 kB / 0.8247 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1742, allocations: 4 kB / 0.8247 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1742, allocations: 3.938 kB / 0.8247 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1743, allocations: 0 / 0.8247 GB, free: 15.85 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.0004964/0.1748, allocations: 270.2 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1748, allocations: 8.031 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1748, allocations: 4.938 kB / 0.825 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.175, allocations: 110.4 kB / 0.8251 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.175, allocations: 8.312 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.175, allocations: 4.375 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1752, allocations: 46.23 kB / 0.8252 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1752, allocations: 4.188 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1752, allocations: 3.938 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1752, allocations: 0 / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1754, allocations: 31.95 kB / 0.8252 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1758, allocations: 216.1 kB / 0.8254 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1759, allocations: 42.44 kB / 0.8255 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.176, allocations: 28.89 kB / 0.8255 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.1766, allocations: 71.92 kB / 0.8256 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1766, allocations: 38.55 kB / 0.8256 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1766, allocations: 0 / 0.8256 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003777/0.177, allocations: 81.58 kB / 0.8257 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.177, allocations: 55.53 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.1771, allocations: 101.8 kB / 0.8258 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1771, allocations: 29.7 kB / 0.8258 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1772, allocations: 84.14 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1772, allocations: 3.953 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1772, allocations: 13.72 kB / 0.8259 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1774, allocations: 310.8 kB / 0.8262 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1775, allocations: 23.97 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.1776, allocations: 15.98 kB / 0.8263 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1778, allocations: 36.83 kB / 0.8263 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1778, allocations: 0 / 0.8263 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.178, allocations: 77.55 kB / 0.8264 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.178, allocations: 10.38 kB / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.178, allocations: 0 / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.178, allocations: 4 kB / 0.8264 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.1781, allocations: 7.984 kB / 0.8264 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1781, allocations: 0 / 0.8264 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1782, allocations: 4 kB / 0.8264 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1782, allocations: 0 / 0.8264 GB, free: 13.95 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 0.0001129/0.1783, allocations: 118.4 kB / 0.8265 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.1783, allocations: 4 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.1786, allocations: 72.95 kB / 0.8266 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1786, allocations: 15.81 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1786, allocations: 0 / 0.8266 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1786, allocations: 0 / 0.8266 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1788, allocations: 136.7 kB / 0.8267 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1788, allocations: 3.984 kB / 0.8267 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.1788, allocations: 8 kB / 0.8268 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1788, allocations: 4.031 kB / 0.8268 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1788, allocations: 0 / 0.8268 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1788, allocations: 0 / 0.8268 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1788, allocations: 0 / 0.8268 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1791, allocations: 163.5 kB / 0.8269 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.1791, allocations: 3.953 kB / 0.8269 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1791, allocations: 12.02 kB / 0.8269 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1792, allocations: 0 / 0.8269 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1792, allocations: 7.984 kB / 0.8269 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1793, allocations: 0 / 0.8269 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.1793, allocations: 83.28 kB / 0.827 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1793, allocations: 3.938 kB / 0.827 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002557/0.1796, allocations: 15.94 kB / 0.827 GB, free: 13.23 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.0003079/0.1799, allocations: 119.2 kB / 0.8271 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1801, allocations: 31.97 kB / 0.8272 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1801, allocations: 0 / 0.8272 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.1802, allocations: 23.97 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1805, allocations: 8.062 kB / 0.8272 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.1809, allocations: 99.19 kB / 0.8273 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.1815, allocations: 0.6767 MB / 0.828 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.1815, allocations: 7.984 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1816, allocations: 7.438 kB / 0.828 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1816, allocations: 0 / 0.828 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.003652/0.1852, allocations: 0.6717 MB / 0.8286 GB, free: 11.54 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: 5.645626371726394] Failed to read output from testmodel.py, exit status != 0: 0.19303555879741907 0.208062507 0.030832969000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6d2fa7d7b0>