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.757/1.757, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.001421/0.001421, allocations: 186.9 kB / 372 MB, free: 10.22 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.974/1.974, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0009045/0.0009046, allocations: 97.31 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 13.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007828/0.2711, allocations: 319.8 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2715, allocations: 167.6 kB / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.245e-05/0.2716, allocations: 0 / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.2716, allocations: 0 / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.2716, allocations: 0 / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.2719, allocations: 43.89 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.272, allocations: 7.938 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.272, allocations: 3.938 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.2721, allocations: 4 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.2721, allocations: 0 / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2721, allocations: 0 / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2723, allocations: 59.89 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.2723, allocations: 0 / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.2724, allocations: 25.7 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.2725, allocations: 23.95 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2725, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2725, allocations: 4 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2725, allocations: 0 / 0.9802 GB, free: 27 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.0002621/0.2728, allocations: 319.4 kB / 0.9805 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2728, allocations: 16.02 kB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2728, allocations: 0 / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.2729, allocations: 163 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2729, allocations: 0 / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.273, allocations: 0 / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2731, allocations: 37.62 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2731, allocations: 4 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2731, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2731, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.2732, allocations: 4 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.2733, allocations: 149.7 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.2733, allocations: 14.58 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.2734, allocations: 4.859 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.274, allocations: 465.5 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.274, allocations: 30.56 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2741, allocations: 0 / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.2742, allocations: 33.7 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.2742, allocations: 59.52 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.528e-05/0.2743, allocations: 93.86 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.2743, allocations: 25.7 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.2743, allocations: 80.14 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2743, allocations: 3.906 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.2743, allocations: 3.938 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.2744, allocations: 310.8 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.2744, allocations: 4 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.2744, allocations: 3.938 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.663e-05/0.2744, allocations: 4.062 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2744, allocations: 0 / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.937e-05/0.2745, allocations: 37.66 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2745, allocations: 9.656 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2745, allocations: 3.984 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2745, allocations: 0 / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.2746, allocations: 0 / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2746, allocations: 4 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.2746, allocations: 3.984 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2746, allocations: 4.031 kB / 0.982 GB, free: 24.84 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.064e-05/0.2747, allocations: 109.8 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.2747, allocations: 3.953 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.2748, allocations: 40.75 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2748, allocations: 0 / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2748, allocations: 4 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2748, allocations: 0 / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.809e-05/0.2749, allocations: 145.7 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2749, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.2749, allocations: 4.031 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2749, allocations: 7.953 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2749, allocations: 3.984 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2749, allocations: 4 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2749, allocations: 0 / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.77e-05/0.275, allocations: 53.08 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.275, allocations: 81.39 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.275, allocations: 7.984 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.275, allocations: 0 / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2751, allocations: 7.984 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.2751, allocations: 0 / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.599e-05/0.2751, allocations: 75.28 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2751, allocations: 0 / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001962/0.2753, allocations: 12 kB / 0.9826 GB, free: 24.19 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.0002026/0.2755, allocations: 127.2 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.2756, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2756, allocations: 4 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.2756, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.2757, allocations: 4.969 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.2759, allocations: 82.7 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2761, allocations: 0.6772 MB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.152e-05/0.2761, allocations: 0 / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.2761, allocations: 7.438 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/0.2761, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.002411/0.2785, allocations: 401.7 kB / 0.9838 GB, free: 22.84 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)