Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001224/0.001224, allocations: 175.5 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009694/0.0009694, allocations: 93.56 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004245, allocations: 14.06 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007813/0.2648, allocations: 310.1 kB / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.2652, allocations: 181.2 kB / 0.9799 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.2653, allocations: 0 / 0.9799 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2653, allocations: 4 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.2653, allocations: 0 / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.2657, allocations: 23.97 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.2657, allocations: 11.94 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.2658, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.2658, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.747e-05/0.2659, allocations: 7.922 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.2659, allocations: 0 / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.2661, allocations: 55.94 kB / 0.98 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.2661, allocations: 4 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2661, allocations: 29.7 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.2662, allocations: 23.95 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2662, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2662, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2662, allocations: 0 / 0.98 GB, free: 27.05 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002635/0.2665, allocations: 311.4 kB / 0.9803 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2666, allocations: 12.02 kB / 0.9804 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.2666, allocations: 0 / 0.9804 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.2667, allocations: 178.9 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2667, allocations: 4 kB / 0.9805 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2667, allocations: 8 kB / 0.9805 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2668, allocations: 25.7 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2668, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2669, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2669, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.2669, allocations: 4 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.267, allocations: 149.6 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.2671, allocations: 26.52 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.2678, allocations: 449.6 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2678, allocations: 30.56 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2678, allocations: 0 / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.2679, allocations: 45.69 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.268, allocations: 51.41 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.877e-05/0.268, allocations: 89.86 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.268, allocations: 25.7 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.268, allocations: 84.08 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2681, allocations: 3.906 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.2681, allocations: 0 / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.2681, allocations: 314.8 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.2682, allocations: 4 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.2682, allocations: 4.125 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.2682, allocations: 0 / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2682, allocations: 0 / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.969e-05/0.2683, allocations: 45.64 kB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2683, allocations: 5.875 kB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2683, allocations: 3.984 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2683, allocations: 0 / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.2684, allocations: 4 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2684, allocations: 0 / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.2684, allocations: 4.094 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2684, allocations: 0 / 0.9818 GB, free: 24.91 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 (1): * Single equations (assignments): 1 * 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 5.036e-05/0.2685, allocations: 109.8 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.2685, allocations: 3.953 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.2685, allocations: 36.81 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2686, allocations: 4 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2686, allocations: 0 / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2686, allocations: 0 / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.07e-05/0.2686, allocations: 145.7 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2686, allocations: 8.016 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.2687, allocations: 4 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2687, allocations: 3.938 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2687, allocations: 3.953 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2687, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2687, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/0.2688, allocations: 57.08 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.2688, allocations: 89.41 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2688, allocations: 0 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.2688, allocations: 7.953 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.2689, allocations: 0 / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2689, allocations: 0 / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.2689, allocations: 79.28 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2689, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002088/0.2691, allocations: 16 kB / 0.9824 GB, free: 24.25 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 (1): * Single equations (assignments): 1 * 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.0001957/0.2693, allocations: 123.2 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.2694, allocations: 4 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2694, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.2694, allocations: 3.938 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.085e-05/0.2695, allocations: 3.938 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.2697, allocations: 82.89 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2698, allocations: 0.6731 MB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.2698, allocations: 4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.2698, allocations: 11.44 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2699, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.002367/0.2722, allocations: 396.7 kB / 0.9837 GB, free: 22.9 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)