Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.602/3.602, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 181.2 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.742/3.742, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 83.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007729/0.0007731, allocations: 13.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4121, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.7469, allocations: 131 MB / 1.027 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/0.7474, allocations: 79.95 kB / 1.027 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006924/0.7543, allocations: 1.251 MB / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.055e-06/0.7544, allocations: 0 / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.7544, allocations: 0 / 1.029 GB, free: 13.05 MB / 0.6823 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.0003909/0.7548, allocations: 335.4 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.7549, allocations: 12.03 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.755, allocations: 4.938 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.7551, allocations: 160.4 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7551, allocations: 384 / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.7552, allocations: 4.359 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.7553, allocations: 30.27 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.559e-06/0.7553, allocations: 192 / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.7554, allocations: 3.938 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7554, allocations: 0 / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.7554, allocations: 0 / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.7556, allocations: 153.7 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.7557, allocations: 22.52 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.7558, allocations: 4.859 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.7569, allocations: 437.6 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.757, allocations: 42.56 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 5.681e-06/0.757, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002245/0.7573, allocations: 37.58 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.7573, allocations: 51.41 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.7574, allocations: 93.84 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.7575, allocations: 25.7 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.7575, allocations: 80.14 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.7576, allocations: 12.03 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.7576, allocations: 0 / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.7578, allocations: 316.2 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.7579, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.7579, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.7579, allocations: 4 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7579, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.7581, allocations: 29.7 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7581, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7581, allocations: 8.078 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7582, allocations: 3.938 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.7583, allocations: 7.938 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7583, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.7583, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.7583, allocations: 3.938 kB / 1.03 GB, free: 10.89 MB / 0.6823 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 0.0001159/0.7585, allocations: 113.8 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.7585, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.7586, allocations: 48.75 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7587, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.7587, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7587, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.7589, allocations: 145.7 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7589, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.759, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.759, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.759, allocations: 3.938 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.759, allocations: 3.984 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.759, allocations: 3.938 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.7592, allocations: 65.17 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.7592, allocations: 77.11 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.7593, allocations: 3.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.7593, allocations: 0 / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.7593, allocations: 3.984 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.7593, allocations: 4 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.7594, allocations: 75.28 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7594, allocations: 4.031 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004927/0.7599, allocations: 19.94 kB / 1.031 GB, free: 10.23 MB / 0.6823 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.0004261/0.7604, allocations: 128.4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.7605, allocations: 11.94 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7605, allocations: 0 / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.7605, allocations: 4 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.7608, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.7611, allocations: 82.59 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.7614, allocations: 0.6692 MB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.7615, allocations: 4 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.7615, allocations: 11.44 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.7615, allocations: 128 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of Templates: time 0.004154/0.7657, allocations: 395.8 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)