Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 100.8 kB / 16.29 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 184 kB / 17.22 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.3 MB / 0.5495 GB, free: 17.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.47 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1799, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002189/0.1822, allocations: 1.425 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.1826, allocations: 252 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1826, allocations: 0 / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.1827, allocations: 4 kB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.1827, allocations: 7.922 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.183, allocations: 59.83 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.1831, allocations: 15.98 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.1832, allocations: 8 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.1832, allocations: 19.84 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.987e-05/0.1832, allocations: 8 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1832, allocations: 0 / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1834, allocations: 59.94 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1834, allocations: 4 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.1834, allocations: 11.94 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1835, allocations: 55.84 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1835, allocations: 7.938 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1835, allocations: 0 / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1836, allocations: 0 / 0.786 GB, free: 1.875 MB / 0.6544 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.0003688/0.1839, allocations: 339.7 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.184, allocations: 12.03 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.184, allocations: 8.875 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1841, allocations: 164.4 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1841, allocations: 8.359 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1841, allocations: 4.375 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1843, allocations: 46.25 kB / 0.7865 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.1843, allocations: 192 / 0.7865 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1843, allocations: 3.938 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1843, allocations: 3.984 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1845, allocations: 31.97 kB / 0.7865 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1847, allocations: 248.9 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1848, allocations: 42.48 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.1849, allocations: 24.84 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.1855, allocations: 461.5 kB / 0.7873 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.1855, allocations: 30.56 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1855, allocations: 0 / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.1858, allocations: 93.58 kB / 0.7874 GB, free: 124 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1859, allocations: 51.41 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2843/0.4702, allocations: 96.27 kB / 0.7875 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4702, allocations: 25.7 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.4703, allocations: 82.84 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4703, allocations: 8.281 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.4703, allocations: 14.31 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.4704, allocations: 313.6 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.4705, allocations: 17.47 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.4705, allocations: 18.42 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4706, allocations: 40.09 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4707, allocations: 1.875 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001632/0.4708, allocations: 72.14 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4708, allocations: 2.656 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4709, allocations: 3.531 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4709, allocations: 0 / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.471, allocations: 9.578 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.471, allocations: 0.8438 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.471, allocations: 8.062 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.471, allocations: 3.328 kB / 0.7881 GB, free: 48.36 MB / 0.6544 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 3.81e-05/0.4711, allocations: 111.6 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4711, allocations: 6 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.4713, allocations: 73.84 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4713, allocations: 3.938 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4713, allocations: 0 / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4713, allocations: 2.844 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.4714, allocations: 160 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4714, allocations: 0.6562 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.4715, allocations: 12.73 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4715, allocations: 0 / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4715, allocations: 0 / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4715, allocations: 3.938 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4715, allocations: 4.469 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.4716, allocations: 166.7 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.4717, allocations: 82.69 kB / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.4717, allocations: 0 / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4718, allocations: 12.8 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4718, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4718, allocations: 1.156 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.4718, allocations: 90.47 kB / 0.7888 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4718, allocations: 0 / 0.7888 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002326/0.4721, allocations: 19 kB / 0.7889 GB, free: 47.72 MB / 0.6544 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.0001326/0.4722, allocations: 121.3 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.4724, allocations: 36.34 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4724, allocations: 2.875 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.4725, allocations: 21.45 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.4727, allocations: 3.656 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.4729, allocations: 98.39 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.308e-05/0.473, allocations: 0.6777 MB / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.473, allocations: 5.375 kB / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.473, allocations: 11.19 kB / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.473, allocations: 0 / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.002183/0.4752, allocations: 0.6471 MB / 0.7904 GB, free: 46.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)