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.0008367/0.0008366, 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.0008731/0.0008731, allocations: 188.1 kB / 16.13 MB, free: 6.652 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.202/1.202, allocations: 205.1 MB / 222 MB, free: 4.742 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.329/1.329, allocations: 251.6 MB / 0.5088 GB, free: 3.395 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.001184/0.001184, allocations: 67.91 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4137, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001595/0.4153, allocations: 0.6558 MB / 0.7245 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003908/0.4158, allocations: 190.3 kB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-06/0.4158, allocations: 0 / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.4158, allocations: 3.938 kB / 0.7246 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-06/0.4158, allocations: 0 / 0.7246 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.4161, allocations: 35.97 kB / 0.7247 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.366e-05/0.4161, allocations: 8 kB / 0.7247 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.932e-05/0.4161, allocations: 3.984 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-06/0.4162, allocations: 3.984 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.4162, allocations: 0 / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-06/0.4162, allocations: 3.938 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.4163, allocations: 59.89 kB / 0.7248 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-06/0.4164, allocations: 4 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.234e-05/0.4164, allocations: 3.938 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.4165, allocations: 31.94 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4165, allocations: 4 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.92e-07/0.4165, allocations: 4 kB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.4165, allocations: 0 / 0.7248 GB, free: 12.19 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.000209/0.4167, allocations: 323.6 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.4167, allocations: 8.031 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.4168, allocations: 4.844 kB / 0.7251 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/0.4168, allocations: 160.4 kB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.4169, allocations: 384 / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.4169, allocations: 384 / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.895e-05/0.4169, allocations: 42.19 kB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.4169, allocations: 192 / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.417, allocations: 3.938 kB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.417, allocations: 0 / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.363e-05/0.417, allocations: 0 / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.602e-05/0.4171, allocations: 149.7 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.703e-05/0.4171, allocations: 14.58 kB / 0.7255 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.4171, allocations: 12.89 kB / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.4177, allocations: 457.5 kB / 0.7259 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.4177, allocations: 34.5 kB / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4177, allocations: 0 / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.789e-05/0.4179, allocations: 37.64 kB / 0.726 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.4179, allocations: 59.52 kB / 0.726 GB, free: 10.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.57e-05/0.4179, allocations: 89.86 kB / 0.7261 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.4179, allocations: 25.7 kB / 0.7262 GB, free: 10.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.418, allocations: 80.14 kB / 0.7262 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.418, allocations: 7.938 kB / 0.7262 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.418, allocations: 13.72 kB / 0.7263 GB, free: 10.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.4181, allocations: 310.8 kB / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-06/0.4181, allocations: 0 / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.4181, allocations: 4 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.4181, allocations: 12.8 kB / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4181, allocations: 0 / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.425e-05/0.4182, allocations: 37.69 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4182, allocations: 8 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4182, allocations: 0 / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.4182, allocations: 3.938 kB / 0.7266 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.4183, allocations: 0 / 0.7266 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.4183, allocations: 0 / 0.7266 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-06/0.4183, allocations: 4.094 kB / 0.7266 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.4183, allocations: 4 kB / 0.7266 GB, free: 10 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.84e-05/0.4183, allocations: 105.8 kB / 0.7267 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.4184, allocations: 0 / 0.7267 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.4184, allocations: 44.69 kB / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4184, allocations: 0 / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4184, allocations: 0 / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.4184, allocations: 0 / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.37e-05/0.4185, allocations: 153.7 kB / 0.7269 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4185, allocations: 4.031 kB / 0.7269 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.4186, allocations: 7.969 kB / 0.7269 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4186, allocations: 0 / 0.7269 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.4186, allocations: 3.938 kB / 0.7269 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4186, allocations: 4 kB / 0.7269 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4186, allocations: 0 / 0.7269 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.216e-05/0.4186, allocations: 57.08 kB / 0.727 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.4187, allocations: 83.11 kB / 0.7271 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.4187, allocations: 7.922 kB / 0.7271 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-06/0.4187, allocations: 4 kB / 0.7271 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.4187, allocations: 0 / 0.7271 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4187, allocations: 3.938 kB / 0.7271 GB, free: 9.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.4187, allocations: 75.28 kB / 0.7272 GB, free: 9.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.052e-06/0.4187, allocations: 0 / 0.7272 GB, free: 9.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001751/0.4189, allocations: 15.94 kB / 0.7272 GB, free: 9.344 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.0001655/0.4191, allocations: 119.2 kB / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.917e-05/0.4191, allocations: 4 kB / 0.7273 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.4191, allocations: 0 / 0.7273 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.4192, allocations: 4 kB / 0.7273 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.4193, allocations: 7.172 kB / 0.7273 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000117/0.4194, allocations: 86.8 kB / 0.7274 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4196, allocations: 0.6731 MB / 0.728 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.4196, allocations: 0 / 0.728 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-06/0.4196, allocations: 7.438 kB / 0.728 GB, free: 8.387 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4196, allocations: 0 / 0.728 GB, free: 8.387 MB / 0.545 GB Notification: Performance of Templates: time 0.001578/0.4212, allocations: 404.4 kB / 0.7284 GB, free: 7.992 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (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)