Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0006892/0.000689, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004183/0.004183, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004578, allocations: 16 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3863, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006096/0.387, allocations: 328.6 kB / 0.729 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.3874, allocations: 190.3 kB / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-06/0.3874, allocations: 0 / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.889e-06/0.3874, allocations: 7.938 kB / 0.7292 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-06/0.3875, allocations: 0 / 0.7292 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3877, allocations: 39.91 kB / 0.7293 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.43e-05/0.3878, allocations: 0 / 0.7293 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.3878, allocations: 4 kB / 0.7293 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.3878, allocations: 3.984 kB / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.3878, allocations: 0 / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-06/0.3878, allocations: 0 / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.388, allocations: 63.88 kB / 0.7293 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-06/0.388, allocations: 0 / 0.7293 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.388, allocations: 25.7 kB / 0.7294 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.3881, allocations: 43.83 kB / 0.7294 GB, free: 10.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3881, allocations: 7.984 kB / 0.7294 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3882, allocations: 0 / 0.7294 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.3882, allocations: 0 / 0.7294 GB, free: 10.59 MB / 0.545 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.0002296/0.3884, allocations: 319.1 kB / 0.7297 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.3884, allocations: 8.031 kB / 0.7297 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3885, allocations: 4.844 kB / 0.7297 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.3885, allocations: 160.4 kB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3886, allocations: 8.359 kB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.3886, allocations: 4.375 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.3886, allocations: 26.27 kB / 0.7299 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.3887, allocations: 192 / 0.7299 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.3887, allocations: 3.938 kB / 0.7299 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3887, allocations: 0 / 0.7299 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.3887, allocations: 7.938 kB / 0.7299 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.3888, allocations: 145.7 kB / 0.7301 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.009e-05/0.3889, allocations: 18.61 kB / 0.7301 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.3889, allocations: 12.84 kB / 0.7301 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.3895, allocations: 453.5 kB / 0.7305 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3895, allocations: 30.56 kB / 0.7306 GB, free: 9.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3895, allocations: 0 / 0.7306 GB, free: 9.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.3896, allocations: 45.56 kB / 0.7306 GB, free: 9.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3897, allocations: 51.41 kB / 0.7306 GB, free: 9.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.731e-05/0.3897, allocations: 89.86 kB / 0.7307 GB, free: 8.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3897, allocations: 25.7 kB / 0.7308 GB, free: 8.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.3898, allocations: 84.14 kB / 0.7308 GB, free: 8.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3898, allocations: 4 kB / 0.7308 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.3898, allocations: 9.719 kB / 0.7309 GB, free: 8.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.3899, allocations: 310.8 kB / 0.7311 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.3899, allocations: 4.125 kB / 0.7312 GB, free: 8.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.3899, allocations: 0 / 0.7312 GB, free: 8.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.39, allocations: 16.73 kB / 0.7312 GB, free: 8.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.39, allocations: 3.938 kB / 0.7312 GB, free: 8.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.744e-05/0.39, allocations: 37.69 kB / 0.7312 GB, free: 8.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.39, allocations: 6.188 kB / 0.7312 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.39, allocations: 0 / 0.7312 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.39, allocations: 3.938 kB / 0.7312 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.3901, allocations: 4.094 kB / 0.7312 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3901, allocations: 4 kB / 0.7312 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.3901, allocations: 4 kB / 0.7312 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3901, allocations: 0 / 0.7312 GB, free: 8.41 MB / 0.545 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.743e-05/0.3902, allocations: 105.8 kB / 0.7313 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.3902, allocations: 0 / 0.7313 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.3903, allocations: 44.69 kB / 0.7314 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3903, allocations: 0 / 0.7314 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3903, allocations: 4 kB / 0.7314 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3903, allocations: 4.031 kB / 0.7314 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.3904, allocations: 145.7 kB / 0.7315 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3904, allocations: 4 kB / 0.7315 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.3904, allocations: 3.984 kB / 0.7315 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3904, allocations: 7.984 kB / 0.7315 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.3904, allocations: 3.938 kB / 0.7315 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3904, allocations: 0 / 0.7315 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3904, allocations: 0 / 0.7315 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.052e-05/0.3905, allocations: 53.14 kB / 0.7316 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.3905, allocations: 87.06 kB / 0.7317 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.3905, allocations: 3.938 kB / 0.7317 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.3905, allocations: 7.938 kB / 0.7317 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-06/0.3906, allocations: 0 / 0.7317 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.3906, allocations: 0 / 0.7317 GB, free: 7.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.3906, allocations: 75.28 kB / 0.7318 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3906, allocations: 0 / 0.7318 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001757/0.3908, allocations: 12 kB / 0.7318 GB, free: 7.758 MB / 0.545 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.0001817/0.391, allocations: 123.3 kB / 0.7319 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.799e-05/0.391, allocations: 0 / 0.7319 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.391, allocations: 4 kB / 0.7319 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.391, allocations: 3.938 kB / 0.7319 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.3912, allocations: 128 / 0.7319 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.3913, allocations: 89.77 kB / 0.732 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.3915, allocations: 0.677 MB / 0.7326 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.977e-06/0.3915, allocations: 0 / 0.7326 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.3915, allocations: 7.438 kB / 0.7326 GB, free: 6.797 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.3915, allocations: 3.938 kB / 0.7327 GB, free: 6.793 MB / 0.545 GB Notification: Performance of Templates: time 0.001811/0.3933, allocations: 396.5 kB / 0.733 GB, free: 6.406 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: