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.001348/0.001348, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00154/0.00154, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.797 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.002562/0.002562, allocations: 284.9 kB / 312.7 MB, free: 2.617 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.281/1.281, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.003029/0.003029, allocations: 97.75 kB / 0.74 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1687, allocations: 95.37 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002776/0.1715, allocations: 1.466 MB / 0.8346 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005748/0.1721, allocations: 224.1 kB / 0.8348 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1721, allocations: 0 / 0.8348 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.1721, allocations: 3.938 kB / 0.8348 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.1722, allocations: 0 / 0.8348 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1726, allocations: 67.72 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.1726, allocations: 19.92 kB / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.1727, allocations: 8 kB / 0.8349 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1727, allocations: 11.92 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.551e-05/0.1728, allocations: 8 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1728, allocations: 0 / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1729, allocations: 59.88 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.173, allocations: 7.922 kB / 0.835 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.173, allocations: 8 kB / 0.835 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1731, allocations: 55.8 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1731, allocations: 0 / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1731, allocations: 0 / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.1731, allocations: 3.984 kB / 0.835 GB, free: 5.895 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.000444/0.1736, allocations: 278.7 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1736, allocations: 9.938 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1736, allocations: 4.891 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1737, allocations: 110.5 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1737, allocations: 384 / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1738, allocations: 384 / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1739, allocations: 50.23 kB / 0.8354 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1739, allocations: 192 / 0.8355 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1739, allocations: 7.938 kB / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1739, allocations: 4 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1741, allocations: 31.95 kB / 0.8355 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1744, allocations: 188.6 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1745, allocations: 40.17 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.1746, allocations: 24.89 kB / 0.8357 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/0.1751, allocations: 83.86 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.1751, allocations: 34.56 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1751, allocations: 3.938 kB / 0.8359 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.1754, allocations: 81.58 kB / 0.8359 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1755, allocations: 59.47 kB / 0.836 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.1756, allocations: 105.8 kB / 0.8361 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1756, allocations: 25.7 kB / 0.8361 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.1756, allocations: 84.09 kB / 0.8362 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1757, allocations: 7.953 kB / 0.8362 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1757, allocations: 13.72 kB / 0.8362 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1759, allocations: 314.8 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.1759, allocations: 19.97 kB / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.176, allocations: 11.98 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1762, allocations: 40.89 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1762, allocations: 0 / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.1764, allocations: 73.53 kB / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1764, allocations: 4.625 kB / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1764, allocations: 0 / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1764, allocations: 0 / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.1765, allocations: 16.02 kB / 0.8367 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1765, allocations: 3.984 kB / 0.8367 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1765, allocations: 11.98 kB / 0.8367 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1765, allocations: 0 / 0.8367 GB, free: 4.012 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.546e-05/0.1766, allocations: 106.5 kB / 0.8368 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1766, allocations: 7.938 kB / 0.8368 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1769, allocations: 68.97 kB / 0.8369 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1769, allocations: 0 / 0.8369 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1769, allocations: 8.031 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1769, allocations: 4.125 kB / 0.8369 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.177, allocations: 101.3 kB / 0.837 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.177, allocations: 7.984 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1771, allocations: 7.984 kB / 0.837 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1771, allocations: 3.938 kB / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1771, allocations: 4 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1771, allocations: 0 / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1771, allocations: 0 / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1773, allocations: 167.5 kB / 0.8372 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.1774, allocations: 3.938 kB / 0.8372 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1774, allocations: 3.938 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1774, allocations: 7.984 kB / 0.8372 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1775, allocations: 8 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1775, allocations: 0 / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.1775, allocations: 79.28 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1775, allocations: 0 / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002361/0.1778, allocations: 19.92 kB / 0.8373 GB, free: 3.348 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.0001871/0.1779, allocations: 119.2 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1782, allocations: 39.89 kB / 0.8374 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1782, allocations: 4 kB / 0.8374 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.1782, allocations: 20.05 kB / 0.8374 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1785, allocations: 2.188 kB / 0.8374 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1787, allocations: 101.6 kB / 0.8375 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.266e-05/0.1788, allocations: 67.34 kB / 0.8376 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.1788, allocations: 3.938 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1788, allocations: 7.438 kB / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1788, allocations: 0 / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.00327/0.1821, allocations: 0.6928 MB / 0.8383 GB, free: 2.25 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: 6.2149696964770555] Failed to read output from testmodel.py, exit status != 0: 0.18910747207701206 0.20434692200000001 0.028243204 Calling exit ...