Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 70.56 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3577, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002449/0.3602, allocations: 0.6348 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.3608, allocations: 205.5 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.3608, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.3609, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.3609, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3614, allocations: 43.84 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3615, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.3615, allocations: 8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.3616, allocations: 3.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.3616, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.3616, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.3619, allocations: 63.88 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3619, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.362, allocations: 8 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3621, allocations: 31.94 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3621, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3622, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3622, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 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.0004704/0.3626, allocations: 315.6 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.3627, allocations: 12.03 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.3628, allocations: 8.922 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3629, allocations: 164.4 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.363, allocations: 4.312 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.363, allocations: 384 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3631, allocations: 30.27 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3631, allocations: 192 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3631, allocations: 3.938 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3632, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.3632, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3634, allocations: 149.7 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.3634, allocations: 26.52 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.3635, allocations: 4.859 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/0.3643, allocations: 449.6 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3643, allocations: 38.55 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.3643, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.3645, allocations: 41.58 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3645, allocations: 55.41 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.3646, allocations: 89.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3646, allocations: 25.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.3646, allocations: 80.14 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.3647, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.3647, allocations: 13.84 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.3648, allocations: 322.8 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.3648, allocations: 3.984 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.3648, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.3649, allocations: 8.859 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3649, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.158e-05/0.3649, allocations: 33.64 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3649, allocations: 4 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.365, allocations: 8.094 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.365, allocations: 3.938 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.365, allocations: 0 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.365, allocations: 3.984 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.365, allocations: 7.844 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3651, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.3651, allocations: 117.8 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.3652, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.3653, allocations: 40.77 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3653, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3653, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3653, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.832e-05/0.3654, allocations: 149.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.3654, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3654, allocations: 7.938 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3654, allocations: 4 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.039e-05/0.3655, allocations: 65.09 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.3656, allocations: 77.11 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3656, allocations: 7.922 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.3656, allocations: 3.938 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.3656, allocations: 4 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.3656, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.3657, allocations: 75.28 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3657, allocations: 4.031 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000228/0.3659, allocations: 16 kB / 1.071 GB, free: 7.051 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.3661, allocations: 115.2 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.3662, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3662, allocations: 3.938 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-06/0.3662, allocations: 8.062 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.3664, allocations: 7.641 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.3666, allocations: 74.77 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.3668, allocations: 0.6731 MB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.3669, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.3669, allocations: 7.438 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3669, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.002618/0.3695, allocations: 400.5 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)