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.729/2.729, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001284/0.001284, allocations: 182.7 kB / 371 MB, free: 10.88 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.14/2.14, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001019/0.001018, allocations: 89.67 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005329/0.0005335, allocations: 18.22 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007919/0.217, allocations: 323.4 kB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004538/0.2175, allocations: 167.7 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.083e-05/0.2175, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.2175, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-06/0.2175, allocations: 4 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2179, allocations: 43.83 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.61e-05/0.2179, allocations: 4 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.218, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.218, allocations: 4 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.218, allocations: 0 / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.2181, allocations: 0 / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.2183, allocations: 67.81 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.2183, allocations: 3.984 kB / 0.979 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.2183, allocations: 25.7 kB / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.2184, allocations: 15.97 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2184, allocations: 0 / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2184, allocations: 4 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2185, allocations: 0 / 0.979 GB, free: 27.72 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.0002559/0.2187, allocations: 325.5 kB / 0.9793 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2188, allocations: 12.02 kB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2188, allocations: 0 / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.2189, allocations: 167 kB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2189, allocations: 0 / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2189, allocations: 4 kB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.219, allocations: 29.64 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2191, allocations: 0 / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2191, allocations: 0 / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2191, allocations: 4 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.2191, allocations: 4 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.2192, allocations: 153.6 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.2193, allocations: 14.58 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.2193, allocations: 12.89 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008326/0.2202, allocations: 453.5 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2202, allocations: 34.56 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.2202, allocations: 0 / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.2204, allocations: 33.69 kB / 0.9802 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2204, allocations: 51.41 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.186e-05/0.2204, allocations: 89.86 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.028e-06/0.2204, allocations: 29.83 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.579e-05/0.2205, allocations: 80.14 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2205, allocations: 3.906 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.2205, allocations: 0 / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.2206, allocations: 318.8 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.2206, allocations: 3.938 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.2206, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.2206, allocations: 7.938 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2207, allocations: 4.016 kB / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.721e-05/0.2207, allocations: 41.62 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2207, allocations: 4 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2208, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2208, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.2208, allocations: 4 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2209, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.2209, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.2209, allocations: 4 kB / 0.9808 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.355e-05/0.221, allocations: 109.9 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.221, allocations: 7.953 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.2211, allocations: 44.75 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2211, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2211, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2211, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.2212, allocations: 145.7 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2212, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.2212, allocations: 7.953 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2212, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2213, allocations: 4.031 kB / 0.9811 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2213, allocations: 0 / 0.9811 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2213, allocations: 0 / 0.9811 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.576e-05/0.2213, allocations: 61.08 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.2214, allocations: 81.38 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2214, allocations: 3.953 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-06/0.2214, allocations: 0 / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.2214, allocations: 3.984 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2215, allocations: 4.031 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.508e-05/0.2215, allocations: 79.28 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2215, allocations: 0 / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002461/0.2217, allocations: 8 kB / 0.9813 GB, free: 24.92 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.0002371/0.222, allocations: 123.2 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.2221, allocations: 12 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2221, allocations: 0 / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2221, allocations: 3.938 kB / 0.9815 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.0001543/0.2223, allocations: 7.875 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.2224, allocations: 78.75 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2226, allocations: 0.6692 MB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.2226, allocations: 0 / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.2227, allocations: 7.438 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.2227, allocations: 4.125 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.00274/0.2254, allocations: 408.5 kB / 0.9826 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)