Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 288.4 MB / 303.7 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 190.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 0.631 GB, free: 9.801 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007241/0.000724, allocations: 90.36 kB / 0.7444 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004968, allocations: 12.97 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001542/0.2277, allocations: 1.148 MB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.2281, allocations: 236.3 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.2281, allocations: 4 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.2282, allocations: 7.922 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.2282, allocations: 3.938 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.2285, allocations: 39.89 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.2286, allocations: 23.92 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.2287, allocations: 4 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.2287, allocations: 8 kB / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.2287, allocations: 7.922 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.2287, allocations: 8 kB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2289, allocations: 67.86 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.2289, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.2289, allocations: 37.64 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.062e-05/0.229, allocations: 31.92 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.229, allocations: 4 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.229, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.229, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 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.0003348/0.2294, allocations: 351.7 kB / 0.982 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2294, allocations: 12.03 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.2294, allocations: 0.9375 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.2295, allocations: 160.4 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2295, allocations: 4.375 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2296, allocations: 384 / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2297, allocations: 54.23 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2297, allocations: 4.188 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.2297, allocations: 3.938 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2298, allocations: 0 / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.2299, allocations: 47.89 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.2302, allocations: 249 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2303, allocations: 46.48 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.2304, allocations: 29.72 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/0.2309, allocations: 465.5 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.231, allocations: 34.5 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.231, allocations: 0 / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003169/0.2313, allocations: 105.5 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.2313, allocations: 51.41 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.2314, allocations: 102 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.2314, allocations: 25.7 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.2314, allocations: 88.12 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.2314, allocations: 7.906 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2314, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.2315, allocations: 310.8 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.2316, allocations: 19.98 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.2316, allocations: 23.98 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2318, allocations: 52.75 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2318, allocations: 8 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001673/0.232, allocations: 81.59 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.232, allocations: 4 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.232, allocations: 4 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.232, allocations: 0 / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.2321, allocations: 12.03 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2321, allocations: 3.984 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.2321, allocations: 4 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.2322, allocations: 4 kB / 0.984 GB, free: 23.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2322, allocations: 113.8 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.2322, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.2324, allocations: 92.7 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2324, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2324, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2325, allocations: 4 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2326, allocations: 161.5 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2326, allocations: 4.031 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.2326, allocations: 11.98 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2326, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2326, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2326, allocations: 4 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2327, allocations: 3.938 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2329, allocations: 187.3 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.2329, allocations: 77.11 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2329, allocations: 0 / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.233, allocations: 11.98 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.233, allocations: 0 / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.233, allocations: 4.031 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.915e-05/0.233, allocations: 87.27 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.233, allocations: 0 / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000209/0.2333, allocations: 12 kB / 0.9847 GB, free: 22.21 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.2334, allocations: 119.2 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2336, allocations: 43.97 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2336, allocations: 0 / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.2337, allocations: 31.98 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2339, allocations: 13.8 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.2341, allocations: 100.7 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.709e-05/0.2342, allocations: 0.6809 MB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2343, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.2343, allocations: 7.438 kB / 0.9857 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2343, allocations: 8 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.002189/0.2365, allocations: 0.5885 MB / 0.9863 GB, free: 20.58 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)