Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001359/0.001359, 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.001503/0.001503, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.781 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.002556/0.002556, allocations: 297.8 kB / 312.7 MB, free: 2.578 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.334/1.334, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 178] 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.003013/0.003013, allocations: 100.8 kB / 0.74 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1666, allocations: 95.38 MB / 0.8331 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002698/0.1693, allocations: 1.466 MB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.1698, allocations: 236 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.1698, allocations: 0 / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.1698, allocations: 0 / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.1699, allocations: 3.938 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1702, allocations: 67.72 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.1703, allocations: 27.92 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.455e-05/0.1704, allocations: 7.938 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.1704, allocations: 8 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.1704, allocations: 7.922 kB / 0.8349 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1704, allocations: 4 kB / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1706, allocations: 59.94 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1706, allocations: 3.984 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.1706, allocations: 11.94 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1708, allocations: 59.73 kB / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1708, allocations: 0 / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1708, allocations: 0 / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1708, allocations: 4 kB / 0.835 GB, free: 5.82 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.000565/0.1713, allocations: 270.2 kB / 0.8353 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1714, allocations: 13.34 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1714, allocations: 4.891 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1715, allocations: 110.5 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1715, allocations: 4.375 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1715, allocations: 384 / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1717, allocations: 51.91 kB / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1717, allocations: 192 / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1717, allocations: 7.938 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1717, allocations: 0 / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1719, allocations: 39.89 kB / 0.8355 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.1722, allocations: 188.6 kB / 0.8357 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1723, allocations: 34.55 kB / 0.8357 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.1724, allocations: 20.91 kB / 0.8358 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.1729, allocations: 87.86 kB / 0.8358 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1729, allocations: 38.48 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1729, allocations: 0 / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.1732, allocations: 81.75 kB / 0.836 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1733, allocations: 51.41 kB / 0.836 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.1733, allocations: 97.84 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1734, allocations: 29.7 kB / 0.8361 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.1734, allocations: 88.09 kB / 0.8362 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1734, allocations: 3.953 kB / 0.8362 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1735, allocations: 17.7 kB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1736, allocations: 314.8 kB / 0.8365 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.1737, allocations: 11.98 kB / 0.8365 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.1738, allocations: 24.02 kB / 0.8366 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1739, allocations: 44.69 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1739, allocations: 0 / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.1741, allocations: 65.61 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1741, allocations: 4 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1741, allocations: 11.92 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1742, allocations: 4.281 kB / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1742, allocations: 4 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1742, allocations: 0 / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1743, allocations: 7.984 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1743, allocations: 0 / 0.8367 GB, free: 3.949 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.32e-05/0.1744, allocations: 114.5 kB / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1744, allocations: 7.922 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1746, allocations: 76.91 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1746, allocations: 0 / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.1746, allocations: 3.984 kB / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1746, allocations: 0 / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1748, allocations: 101.3 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1748, allocations: 4 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1749, allocations: 11.98 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1749, allocations: 3.938 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1749, allocations: 0 / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1749, allocations: 0 / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1749, allocations: 4.031 kB / 0.837 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1751, allocations: 167.4 kB / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.1751, allocations: 7.938 kB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1751, allocations: 0 / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1752, allocations: 7.984 kB / 0.8372 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1752, allocations: 0 / 0.8372 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1752, allocations: 0 / 0.8372 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.1753, allocations: 87.27 kB / 0.8373 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1753, allocations: 0 / 0.8373 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002383/0.1755, allocations: 23.97 kB / 0.8373 GB, free: 3.273 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.0001718/0.1757, allocations: 111.2 kB / 0.8374 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1759, allocations: 31.97 kB / 0.8374 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1759, allocations: 8.062 kB / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.176, allocations: 23.86 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1762, allocations: 9.859 kB / 0.8375 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.1765, allocations: 101.6 kB / 0.8376 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.1765, allocations: 55.36 kB / 0.8376 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.1765, allocations: 3.984 kB / 0.8376 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.1766, allocations: 11.44 kB / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1766, allocations: 64 / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of Templates: time 0.003073/0.1796, allocations: 0.7031 MB / 0.8383 GB, free: 2.172 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.098192133009434] Failed to read output from testmodel.py, exit status != 0: 0.18657121248543262 0.20216150300000002 0.028334245 Calling exit ...