Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.777/2.777, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001569/0.001569, allocations: 183 kB / 370.8 MB, free: 10.83 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.121/2.121, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001171/0.001171, allocations: 105 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006766, allocations: 14.02 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2293, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007507/0.2301, allocations: 313.9 kB / 0.9785 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004326/0.2305, allocations: 177.2 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.2305, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.2306, allocations: 3.938 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.2306, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.2309, allocations: 35.95 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.094e-05/0.231, allocations: 0 / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.231, allocations: 3.984 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.231, allocations: 0 / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.2311, allocations: 3.984 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.2311, allocations: 4 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2313, allocations: 63.83 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-06/0.2313, allocations: 0 / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.2313, allocations: 25.7 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.2314, allocations: 23.95 kB / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2314, allocations: 0 / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2314, allocations: 0 / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2314, allocations: 0 / 0.9788 GB, free: 27.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002222/0.2317, allocations: 319.4 kB / 0.9791 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2317, allocations: 16.02 kB / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2318, allocations: 0 / 0.9791 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.2318, allocations: 163 kB / 0.9793 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2319, allocations: 4 kB / 0.9793 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.2319, allocations: 0 / 0.9793 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/0.232, allocations: 29.64 kB / 0.9793 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-06/0.232, allocations: 0 / 0.9793 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.232, allocations: 0 / 0.9793 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.232, allocations: 0 / 0.9793 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.232, allocations: 11.92 kB / 0.9793 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.2322, allocations: 153.6 kB / 0.9795 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.2322, allocations: 14.58 kB / 0.9795 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/0.2331, allocations: 453.5 kB / 0.9799 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2331, allocations: 42.5 kB / 0.98 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.2331, allocations: 4 kB / 0.98 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.2333, allocations: 29.7 kB / 0.98 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2333, allocations: 51.41 kB / 0.9801 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.127e-05/0.2334, allocations: 89.86 kB / 0.9801 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.2334, allocations: 25.7 kB / 0.9802 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.2334, allocations: 80.14 kB / 0.9802 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2334, allocations: 3.906 kB / 0.9802 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.2335, allocations: 4.125 kB / 0.9802 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.2335, allocations: 322.8 kB / 0.9806 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.2335, allocations: 0 / 0.9806 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.2336, allocations: 0 / 0.9806 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.2336, allocations: 7.875 kB / 0.9806 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2336, allocations: 0 / 0.9806 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.621e-05/0.2337, allocations: 37.66 kB / 0.9806 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2337, allocations: 4 kB / 0.9806 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2337, allocations: 4.094 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2337, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.2338, allocations: 4 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2338, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.2338, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2338, allocations: 3.984 kB / 0.9806 GB, free: 25.57 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.271e-05/0.2339, allocations: 107.7 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.2339, allocations: 3.953 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.234, allocations: 44.77 kB / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.234, allocations: 4.031 kB / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.234, allocations: 0 / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2341, allocations: 0 / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.521e-05/0.2341, allocations: 149.7 kB / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2341, allocations: 0 / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.2342, allocations: 4 kB / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2342, allocations: 3.953 kB / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2342, allocations: 0 / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2342, allocations: 0 / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2342, allocations: 0 / 0.9809 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.809e-05/0.2343, allocations: 69.06 kB / 0.981 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.2343, allocations: 77.39 kB / 0.9811 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2343, allocations: 3.953 kB / 0.9811 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.2344, allocations: 3.938 kB / 0.9811 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.2344, allocations: 0 / 0.9811 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2344, allocations: 0 / 0.9811 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.832e-05/0.2344, allocations: 79.28 kB / 0.9811 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2344, allocations: 4.031 kB / 0.9811 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002559/0.2347, allocations: 19.98 kB / 0.9812 GB, free: 24.91 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.0002351/0.2349, allocations: 107.2 kB / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.538e-05/0.235, allocations: 8 kB / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.235, allocations: 0 / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.2351, allocations: 12 kB / 0.9813 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.2352, allocations: 3.938 kB / 0.9813 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.2353, allocations: 78.69 kB / 0.9814 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2355, allocations: 0.6731 MB / 0.982 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.2355, allocations: 7.984 kB / 0.982 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.2355, allocations: 7.438 kB / 0.982 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2355, allocations: 0 / 0.982 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.002717/0.2383, allocations: 400.8 kB / 0.9824 GB, free: 23.56 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)