Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.348/1.348, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001491/0.001491, allocations: 75.89 kB / 0.6223 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3988, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002231/0.4011, allocations: 0.5783 MB / 0.7251 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000436/0.4016, allocations: 111.6 kB / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.4016, allocations: 0 / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.4016, allocations: 0 / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.4017, allocations: 0 / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.402, allocations: 47.83 kB / 0.7252 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.4022, allocations: 63.94 kB / 0.7253 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.4023, allocations: 0 / 0.7253 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.4023, allocations: 27.97 kB / 0.7253 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.4024, allocations: 19.97 kB / 0.7253 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4024, allocations: 8 kB / 0.7254 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4025, allocations: 39.95 kB / 0.7254 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.4026, allocations: 23.97 kB / 0.7254 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.4026, allocations: 23.86 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4028, allocations: 67.83 kB / 0.7255 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4028, allocations: 4 kB / 0.7255 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4028, allocations: 0 / 0.7255 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4028, allocations: 0 / 0.7255 GB, free: 11.95 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004772/0.4033, allocations: 380.9 kB / 0.7259 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.4033, allocations: 8.031 kB / 0.7259 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.4034, allocations: 8.938 kB / 0.7259 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.4035, allocations: 172.3 kB / 0.726 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.4037, allocations: 277.6 kB / 0.7263 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.4037, allocations: 12.36 kB / 0.7263 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.4039, allocations: 78.19 kB / 0.7264 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.404, allocations: 3.938 kB / 0.7264 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.404, allocations: 0 / 0.7264 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.404, allocations: 0 / 0.7264 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.4043, allocations: 135.8 kB / 0.7265 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.4045, allocations: 193.5 kB / 0.7267 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.4047, allocations: 98.39 kB / 0.7268 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4049, allocations: 47.73 kB / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4049, allocations: 4 kB / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4049, allocations: 30.56 kB / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.4049, allocations: 0 / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004726/0.4054, allocations: 161.7 kB / 0.727 GB, free: 10.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.4055, allocations: 51.41 kB / 0.7271 GB, free: 10.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.223e-05/0.4055, allocations: 93.86 kB / 0.7272 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4055, allocations: 25.7 kB / 0.7272 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.4056, allocations: 80.14 kB / 0.7273 GB, free: 9.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.4056, allocations: 35.45 kB / 0.7273 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.4057, allocations: 33.7 kB / 0.7273 GB, free: 9.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.4058, allocations: 314.8 kB / 0.7276 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4059, allocations: 35.98 kB / 0.7277 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.406, allocations: 31.97 kB / 0.7277 GB, free: 9.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.4063, allocations: 72.81 kB / 0.7278 GB, free: 9.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4063, allocations: 0 / 0.7278 GB, free: 9.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002898/0.4066, allocations: 117.5 kB / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4066, allocations: 7.938 kB / 0.7279 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4066, allocations: 0 / 0.7279 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.4066, allocations: 0 / 0.7279 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4067, allocations: 27.97 kB / 0.7279 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4068, allocations: 4 kB / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.4068, allocations: 7.906 kB / 0.7279 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4068, allocations: 3.984 kB / 0.7279 GB, free: 9.172 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.265e-05/0.4069, allocations: 113.8 kB / 0.7281 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.4069, allocations: 7.938 kB / 0.7281 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.407, allocations: 11.97 kB / 0.7281 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.407, allocations: 0 / 0.7281 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.407, allocations: 4 kB / 0.7281 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.407, allocations: 7.984 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.4071, allocations: 181.5 kB / 0.7283 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4071, allocations: 3.938 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4073, allocations: 23.98 kB / 0.7283 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4073, allocations: 3.938 kB / 0.7283 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4073, allocations: 7.984 kB / 0.7283 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4073, allocations: 3.938 kB / 0.7283 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4073, allocations: 4 kB / 0.7283 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.4076, allocations: 137.1 kB / 0.7284 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.4077, allocations: 89 kB / 0.7285 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4077, allocations: 15.88 kB / 0.7285 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.4077, allocations: 0 / 0.7285 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.4078, allocations: 15.92 kB / 0.7285 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4078, allocations: 7.984 kB / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.4078, allocations: 75.28 kB / 0.7286 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4079, allocations: 0 / 0.7286 GB, free: 8.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001963/0.4081, allocations: 20 kB / 0.7286 GB, free: 8.352 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001694/0.4082, allocations: 123.2 kB / 0.7288 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.4086, allocations: 100.8 kB / 0.7289 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4086, allocations: 0 / 0.7289 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4087, allocations: 43.97 kB / 0.7289 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.4089, allocations: 8.422 kB / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4092, allocations: 164.8 kB / 0.7291 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.4095, allocations: 0.6846 MB / 0.7297 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.4097, allocations: 43.81 kB / 0.7298 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.4097, allocations: 19.42 kB / 0.7298 GB, free: 7.113 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4097, allocations: 3.938 kB / 0.7298 GB, free: 7.109 MB / 0.545 GB Notification: Performance of Templates: time 0.003234/0.4129, allocations: 1.013 MB / 0.7308 GB, free: 6.098 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)