Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001095/0.001095, 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.001193/0.001194, allocations: 200.1 kB / 16.14 MB, free: 6.66 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 61.69 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3645, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002018/0.3666, allocations: 0.6425 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004714/0.3671, allocations: 197.6 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.619e-06/0.3671, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.3671, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.3672, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.3675, allocations: 43.89 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.142e-05/0.3675, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.3676, allocations: 3.984 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.3676, allocations: 7.938 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.3676, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.3676, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3678, allocations: 59.89 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.3678, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.3679, allocations: 3.984 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.368, allocations: 27.95 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.368, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.368, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.368, allocations: 3.938 kB / 1.068 GB, free: 9.895 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.0003106/0.3683, allocations: 327.5 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3684, allocations: 8.031 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.3684, allocations: 4.938 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.3685, allocations: 164.4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3685, allocations: 384 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.3685, allocations: 384 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.3686, allocations: 30.25 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3686, allocations: 192 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3686, allocations: 3.938 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3687, allocations: 8 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.3687, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.3688, allocations: 145.7 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.3689, allocations: 26.48 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.3689, allocations: 4.859 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.3696, allocations: 461.5 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3697, allocations: 30.56 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3697, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.3698, allocations: 37.58 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3698, allocations: 55.39 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.819e-05/0.3699, allocations: 89.86 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3699, allocations: 25.83 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.3699, allocations: 84.14 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.37, allocations: 8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.37, allocations: 9.719 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3701, allocations: 310.8 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.3701, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.3701, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.3702, allocations: 4.859 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3702, allocations: 4.062 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.84e-05/0.3702, allocations: 45.62 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3702, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.3703, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3703, allocations: 3.938 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.3703, allocations: 4 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3703, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.3703, allocations: 3.906 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3703, allocations: 0 / 1.07 GB, free: 7.707 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 5.971e-05/0.3704, allocations: 109.9 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-06/0.3704, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.3705, allocations: 44.75 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3705, allocations: 0 / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3705, allocations: 3.938 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.3705, allocations: 0 / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.3706, allocations: 145.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3706, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.3707, allocations: 11.92 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3707, allocations: 4.031 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3707, allocations: 7.938 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3707, allocations: 3.938 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3707, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.566e-05/0.3708, allocations: 57.14 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.3708, allocations: 81.09 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3708, allocations: 3.938 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.3708, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3708, allocations: 8.016 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3708, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.3709, allocations: 75.28 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3709, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002058/0.3711, allocations: 16 kB / 1.071 GB, free: 7.043 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.0002051/0.3713, allocations: 123.2 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.3714, allocations: 7.938 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3715, allocations: 6.531 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.3717, allocations: 74.77 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.3719, allocations: 0.6731 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.3719, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.372, allocations: 15.56 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.372, allocations: 3.938 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.002439/0.3744, allocations: 400.5 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)