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.0008178/0.0008179, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009882/0.0009883, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.564/1.564, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0005789/0.000579, allocations: 16 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5638, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008106/0.5647, allocations: 324.5 kB / 0.7284 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003939/0.5651, allocations: 107.7 kB / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.5651, allocations: 0 / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.5652, allocations: 0 / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.5652, allocations: 0 / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.5655, allocations: 27.97 kB / 0.7286 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.5656, allocations: 51.92 kB / 0.7286 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.5657, allocations: 4 kB / 0.7286 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.5657, allocations: 19.98 kB / 0.7286 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.5658, allocations: 27.95 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.5658, allocations: 7.938 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.566, allocations: 43.97 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.566, allocations: 23.95 kB / 0.7287 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.5661, allocations: 29.7 kB / 0.7288 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.5662, allocations: 39.92 kB / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5662, allocations: 0 / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5662, allocations: 4 kB / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.5662, allocations: 0 / 0.7288 GB, free: 10.7 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.000505/0.5667, allocations: 361.3 kB / 0.7292 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5668, allocations: 8.031 kB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.5668, allocations: 4 kB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5669, allocations: 169.8 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.5672, allocations: 281 kB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.5673, allocations: 11.94 kB / 0.7296 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.5675, allocations: 77.62 kB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5675, allocations: 4 kB / 0.7297 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5676, allocations: 4 kB / 0.7297 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5676, allocations: 0 / 0.7297 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.5679, allocations: 131.8 kB / 0.7298 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.5681, allocations: 181.5 kB / 0.73 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.5684, allocations: 98.45 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.5685, allocations: 48.77 kB / 0.7301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5686, allocations: 4 kB / 0.7301 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.5686, allocations: 34.55 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.5686, allocations: 0 / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005087/0.5691, allocations: 157.8 kB / 0.7303 GB, free: 8.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5692, allocations: 51.41 kB / 0.7304 GB, free: 8.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.5692, allocations: 89.86 kB / 0.7305 GB, free: 8.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5693, allocations: 25.7 kB / 0.7305 GB, free: 8.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.5693, allocations: 84.33 kB / 0.7306 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.5694, allocations: 43.45 kB / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.5694, allocations: 0 / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5695, allocations: 310.8 kB / 0.7309 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5696, allocations: 35.97 kB / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.5697, allocations: 31.97 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.5699, allocations: 39.88 kB / 0.731 GB, free: 8.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5699, allocations: 0 / 0.731 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002976/0.5702, allocations: 109.6 kB / 0.7311 GB, free: 8.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5702, allocations: 8 kB / 0.7311 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5702, allocations: 0 / 0.7311 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5702, allocations: 4 kB / 0.7311 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5704, allocations: 23.92 kB / 0.7311 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.5704, allocations: 0 / 0.7311 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.5705, allocations: 11.89 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.5705, allocations: 8 kB / 0.7312 GB, free: 8.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.5706, allocations: 117.8 kB / 0.7313 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.5706, allocations: 12 kB / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.5706, allocations: 7.969 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5707, allocations: 3.938 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5707, allocations: 0 / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5707, allocations: 0 / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.5708, allocations: 185.5 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5708, allocations: 3.953 kB / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.571, allocations: 27.91 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.571, allocations: 4 kB / 0.7315 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.571, allocations: 4 kB / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.571, allocations: 0 / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.571, allocations: 4 kB / 0.7315 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.5713, allocations: 133.1 kB / 0.7316 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.5714, allocations: 88.97 kB / 0.7317 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5714, allocations: 4 kB / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.5714, allocations: 4 kB / 0.7317 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.5715, allocations: 15.91 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5715, allocations: 15.92 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.5716, allocations: 79.28 kB / 0.7318 GB, free: 7.219 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5716, allocations: 0 / 0.7318 GB, free: 7.219 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002232/0.5718, allocations: 24 kB / 0.7319 GB, free: 7.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.572, allocations: 115.2 kB / 0.732 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.5723, allocations: 80.81 kB / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5723, allocations: 0 / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.5725, allocations: 51.91 kB / 0.7321 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.5727, allocations: 8.438 kB / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.5731, allocations: 166.6 kB / 0.7323 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.5733, allocations: 0.6848 MB / 0.7329 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.5735, allocations: 47.81 kB / 0.733 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.5736, allocations: 15.42 kB / 0.733 GB, free: 5.977 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5736, allocations: 0 / 0.733 GB, free: 5.977 MB / 0.545 GB Notification: Performance of Templates: time 0.003241/0.5768, allocations: 0.9402 MB / 0.7339 GB, free: 5.035 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: