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.0008165/0.0008165, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005875/0.005875, allocations: 169 kB / 16.26 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 11.69 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007062/0.3411, allocations: 314.9 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.3415, allocations: 193.6 kB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.3416, allocations: 0 / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.3416, allocations: 0 / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-06/0.3416, allocations: 0 / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3419, allocations: 43.89 kB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.156e-05/0.342, allocations: 0 / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.342, allocations: 8 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.342, allocations: 4 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.3421, allocations: 0 / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-06/0.3421, allocations: 3.938 kB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.3423, allocations: 67.81 kB / 1.075 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.3423, allocations: 3.984 kB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.3423, allocations: 29.7 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3424, allocations: 35.89 kB / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3424, allocations: 0 / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3424, allocations: 0 / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.3424, allocations: 0 / 1.075 GB, free: 6.832 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.0002548/0.3427, allocations: 315.6 kB / 1.075 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3428, allocations: 8.031 kB / 1.075 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.3428, allocations: 8.938 kB / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.3429, allocations: 164.4 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3429, allocations: 4.375 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3429, allocations: 4.359 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.343, allocations: 26.27 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.343, allocations: 192 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.343, allocations: 3.938 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.343, allocations: 0 / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.3431, allocations: 7.938 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3432, allocations: 149.7 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.3432, allocations: 22.61 kB / 1.075 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.3433, allocations: 4.859 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.344, allocations: 453.5 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.344, allocations: 34.56 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.344, allocations: 0 / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.3441, allocations: 41.58 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.3442, allocations: 55.34 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.211e-05/0.3442, allocations: 89.86 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3442, allocations: 25.7 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.3443, allocations: 84.14 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3443, allocations: 128 / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.3443, allocations: 13.72 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.3444, allocations: 314.8 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.3444, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.3444, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.3445, allocations: 12.86 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3445, allocations: 0 / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.174e-05/0.3445, allocations: 37.64 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3446, allocations: 4.094 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3446, allocations: 4 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3446, allocations: 3.938 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.3446, allocations: 0 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3446, allocations: 7.984 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.3447, allocations: 7.844 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3447, allocations: 0 / 1.077 GB, free: 4.645 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 6.065e-05/0.3447, allocations: 105.8 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.3447, allocations: 0 / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.3448, allocations: 48.7 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3448, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3449, allocations: 4 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3449, allocations: 3.984 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.682e-05/0.345, allocations: 145.7 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.345, allocations: 0 / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.345, allocations: 0 / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.345, allocations: 4 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.345, allocations: 3.938 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.345, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.345, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.434e-05/0.3451, allocations: 61.16 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.3451, allocations: 81.11 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3451, allocations: 7.938 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.3451, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.3452, allocations: 7.875 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3452, allocations: 0 / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.3452, allocations: 75.28 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3452, allocations: 4.031 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00021/0.3454, allocations: 19.98 kB / 1.077 GB, free: 3.98 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.0002198/0.3456, allocations: 111.2 kB / 1.077 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.3457, allocations: 4 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3457, allocations: 8.062 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.3457, allocations: 3.984 kB / 1.077 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3459, allocations: 3.938 kB / 1.077 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.3461, allocations: 74.77 kB / 1.077 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3463, allocations: 0.6692 MB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.071e-05/0.3463, allocations: 0 / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3463, allocations: 7.438 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3463, allocations: 3.938 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of Templates: time 0.002473/0.3488, allocations: 400.5 kB / 1.078 GB, free: 2.641 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)