Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, 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.002189/0.002189, allocations: 197.8 kB / 16.14 MB, free: 6.668 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 62.42 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.385, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002023/0.3871, allocations: 0.6386 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.3877, allocations: 213.5 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.34e-05/0.3877, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.3877, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-06/0.3877, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.3881, allocations: 35.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.099e-05/0.3881, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.3882, allocations: 3.984 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.3882, allocations: 3.938 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.242e-05/0.3882, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.3882, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.3884, allocations: 67.88 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.3884, allocations: 0 / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.3885, allocations: 0 / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3886, allocations: 35.94 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3886, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3886, allocations: 4 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3886, allocations: 0 / 1.069 GB, free: 9.914 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.0003357/0.389, allocations: 319.6 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.389, allocations: 8.031 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.389, allocations: 8.938 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.3891, allocations: 164.4 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3891, allocations: 384 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.3892, allocations: 384 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.3893, allocations: 38.12 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3893, allocations: 192 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3893, allocations: 3.938 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3893, allocations: 4 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.3893, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.3895, allocations: 149.7 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.3895, allocations: 22.61 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.3895, allocations: 4.859 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.3903, allocations: 457.5 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3903, allocations: 42.44 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3903, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.3905, allocations: 41.62 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.3905, allocations: 51.41 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.337e-05/0.3905, allocations: 89.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3906, allocations: 25.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.3906, allocations: 80.14 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.3906, allocations: 4.125 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.3907, allocations: 13.72 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.3908, allocations: 314.8 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.3908, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-06/0.3908, allocations: 3.984 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.3908, allocations: 12.8 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3908, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.813e-05/0.3909, allocations: 33.77 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3909, allocations: 9.406 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3909, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3909, allocations: 3.938 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.391, allocations: 3.984 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.391, allocations: 0 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.101e-05/0.391, allocations: 7.906 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.391, allocations: 0 / 1.07 GB, free: 7.719 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.044e-05/0.3911, allocations: 113.8 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.3911, allocations: 4.031 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.3912, allocations: 40.7 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3912, allocations: 0 / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3912, allocations: 4 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3912, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.3913, allocations: 145.7 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3913, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.3913, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3913, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3913, allocations: 3.938 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3913, allocations: 7.969 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3913, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.58e-05/0.3914, allocations: 61.06 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.3914, allocations: 81.05 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3914, allocations: 7.938 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.3915, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.3915, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3915, allocations: 32 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.3915, allocations: 79.28 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3915, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001904/0.3917, allocations: 12 kB / 1.071 GB, free: 7.059 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.0002292/0.3919, allocations: 127.2 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.392, allocations: 8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.392, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.392, allocations: 3.938 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.0001224/0.3922, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.3923, allocations: 82.75 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3925, allocations: 0.6692 MB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.3926, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.3926, allocations: 7.438 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3926, allocations: 128 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.002242/0.3948, allocations: 408.4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)