Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009794/0.0009798, 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.0009524/0.0009524, allocations: 198 kB / 16.14 MB, free: 6.656 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.175/1.175, allocations: 205.1 MB / 222 MB, free: 4.723 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.332/1.332, allocations: 251.6 MB / 0.5088 GB, free: 3.324 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.001271/0.001271, allocations: 55.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3963, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001499/0.3979, allocations: 0.652 MB / 0.7244 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.3983, allocations: 214.1 kB / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-06/0.3983, allocations: 0 / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.3983, allocations: 0 / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-06/0.3983, allocations: 0 / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3986, allocations: 50.39 kB / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.13e-05/0.3986, allocations: 0 / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.3986, allocations: 0 / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-06/0.3987, allocations: 0 / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.313e-05/0.3987, allocations: 4 kB / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-06/0.3987, allocations: 0 / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3988, allocations: 71.86 kB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-06/0.3988, allocations: 3.938 kB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.3989, allocations: 0 / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.3989, allocations: 31.95 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.399, allocations: 8 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.399, allocations: 0 / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.399, allocations: 0 / 0.7248 GB, free: 12.14 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.0002119/0.3992, allocations: 323.5 kB / 0.7251 GB, free: 11.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.3992, allocations: 8.031 kB / 0.7251 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.3992, allocations: 8.844 kB / 0.7251 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.146e-05/0.3993, allocations: 164.4 kB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.3993, allocations: 384 / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.3993, allocations: 384 / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.319e-05/0.3994, allocations: 30.25 kB / 0.7253 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.3994, allocations: 192 / 0.7253 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.3994, allocations: 7.938 kB / 0.7253 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-06/0.3994, allocations: 0 / 0.7253 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.3994, allocations: 4 kB / 0.7253 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.707e-05/0.3995, allocations: 145.7 kB / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.729e-05/0.3996, allocations: 22.55 kB / 0.7255 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.073e-05/0.3996, allocations: 4.859 kB / 0.7255 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.4002, allocations: 461.5 kB / 0.7259 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4002, allocations: 34.56 kB / 0.726 GB, free: 10.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4002, allocations: 0 / 0.726 GB, free: 10.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.08e-05/0.4003, allocations: 37.62 kB / 0.726 GB, free: 10.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.4004, allocations: 55.34 kB / 0.7261 GB, free: 10.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.4004, allocations: 89.86 kB / 0.7261 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.4004, allocations: 29.64 kB / 0.7262 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.4004, allocations: 88.27 kB / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.4004, allocations: 0 / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.4005, allocations: 13.72 kB / 0.7263 GB, free: 10.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.4005, allocations: 310.8 kB / 0.7266 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.4006, allocations: 3.938 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.4006, allocations: 0 / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.4006, allocations: 12.86 kB / 0.7266 GB, free: 10.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4006, allocations: 4.062 kB / 0.7266 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.36e-05/0.4007, allocations: 45.62 kB / 0.7266 GB, free: 9.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.4007, allocations: 4 kB / 0.7266 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.4007, allocations: 0 / 0.7266 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.4007, allocations: 3.938 kB / 0.7266 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.73e-05/0.4007, allocations: 0 / 0.7266 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4007, allocations: 4 kB / 0.7266 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-06/0.4007, allocations: 0 / 0.7266 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.4007, allocations: 3.984 kB / 0.7266 GB, free: 9.938 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 4.429e-05/0.4008, allocations: 109.9 kB / 0.7267 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.4008, allocations: 3.984 kB / 0.7268 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.4009, allocations: 40.77 kB / 0.7268 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4009, allocations: 0 / 0.7268 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4009, allocations: 4 kB / 0.7268 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.4009, allocations: 0 / 0.7268 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.885e-05/0.401, allocations: 145.7 kB / 0.7269 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.401, allocations: 0 / 0.7269 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.401, allocations: 3.938 kB / 0.7269 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.401, allocations: 4 kB / 0.7269 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.401, allocations: 7.969 kB / 0.7269 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.401, allocations: 0 / 0.7269 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.401, allocations: 0 / 0.7269 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.002e-05/0.4011, allocations: 57.12 kB / 0.727 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.4011, allocations: 83.08 kB / 0.7271 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.4011, allocations: 3.938 kB / 0.7271 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-06/0.4011, allocations: 0 / 0.7271 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-06/0.4011, allocations: 8.016 kB / 0.7271 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4011, allocations: 0 / 0.7271 GB, free: 9.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.4012, allocations: 79.22 kB / 0.7272 GB, free: 9.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4012, allocations: 0 / 0.7272 GB, free: 9.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001734/0.4013, allocations: 12 kB / 0.7272 GB, free: 9.285 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.0001608/0.4015, allocations: 123.2 kB / 0.7273 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.171e-05/0.4016, allocations: 7.938 kB / 0.7273 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4016, allocations: 0 / 0.7273 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.4016, allocations: 0 / 0.7273 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.4017, allocations: 4 kB / 0.7273 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001155/0.4018, allocations: 82.66 kB / 0.7274 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.402, allocations: 0.6692 MB / 0.728 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.402, allocations: 7.938 kB / 0.728 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.402, allocations: 15.56 kB / 0.7281 GB, free: 8.316 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.402, allocations: 0 / 0.7281 GB, free: 8.316 MB / 0.545 GB Notification: Performance of Templates: time 0.001615/0.4036, allocations: 400.4 kB / 0.7284 GB, free: 7.926 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)