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.0006731/0.0006732, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004286/0.004286, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.143/1.143, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.637 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.000482/0.000482, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3664, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006016/0.367, allocations: 324.6 kB / 0.729 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003368/0.3674, allocations: 114.5 kB / 0.7292 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.3674, allocations: 0 / 0.7292 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.3674, allocations: 0 / 0.7292 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-06/0.3674, allocations: 0 / 0.7292 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3677, allocations: 31.91 kB / 0.7292 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3678, allocations: 63.92 kB / 0.7292 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.3678, allocations: 3.984 kB / 0.7292 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.3679, allocations: 23.98 kB / 0.7293 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.3679, allocations: 19.97 kB / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3679, allocations: 4 kB / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.368, allocations: 47.95 kB / 0.7293 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.3681, allocations: 19.97 kB / 0.7294 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.3681, allocations: 53.55 kB / 0.7294 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3682, allocations: 67.84 kB / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3683, allocations: 0 / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3683, allocations: 0 / 0.7295 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.3683, allocations: 3.938 kB / 0.7295 GB, free: 10.53 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.0003957/0.3687, allocations: 357.5 kB / 0.7298 GB, free: 10.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.3687, allocations: 8.031 kB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3687, allocations: 8.938 kB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.3688, allocations: 168.4 kB / 0.73 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.3691, allocations: 277.6 kB / 0.7303 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3691, allocations: 4.375 kB / 0.7303 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3693, allocations: 82.19 kB / 0.7303 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3693, allocations: 3.938 kB / 0.7303 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3693, allocations: 0 / 0.7303 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3694, allocations: 4 kB / 0.7303 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.3697, allocations: 143.7 kB / 0.7305 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3699, allocations: 181.5 kB / 0.7307 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.3701, allocations: 98.45 kB / 0.7308 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3703, allocations: 44.83 kB / 0.7308 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3703, allocations: 7.984 kB / 0.7308 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3703, allocations: 30.56 kB / 0.7308 GB, free: 8.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3703, allocations: 4 kB / 0.7308 GB, free: 8.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004813/0.3708, allocations: 149.8 kB / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.3709, allocations: 55.41 kB / 0.731 GB, free: 8.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.708e-05/0.3709, allocations: 93.86 kB / 0.7311 GB, free: 8.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3709, allocations: 29.7 kB / 0.7311 GB, free: 8.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.3709, allocations: 80.14 kB / 0.7312 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.371, allocations: 35.45 kB / 0.7313 GB, free: 8.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.371, allocations: 17.72 kB / 0.7313 GB, free: 8.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.3711, allocations: 310.8 kB / 0.7316 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3713, allocations: 35.97 kB / 0.7316 GB, free: 8.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3714, allocations: 35.97 kB / 0.7316 GB, free: 8.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.3716, allocations: 73.47 kB / 0.7317 GB, free: 7.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3716, allocations: 3.938 kB / 0.7317 GB, free: 7.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003063/0.372, allocations: 117.5 kB / 0.7318 GB, free: 7.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.372, allocations: 7.938 kB / 0.7318 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.372, allocations: 0 / 0.7318 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.372, allocations: 0 / 0.7318 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3721, allocations: 27.97 kB / 0.7319 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3721, allocations: 0 / 0.7319 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.3722, allocations: 11.91 kB / 0.7319 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3722, allocations: 4 kB / 0.7319 GB, free: 7.785 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 7.511e-05/0.3723, allocations: 121.8 kB / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3723, allocations: 3.938 kB / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3724, allocations: 11.97 kB / 0.732 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3724, allocations: 4 kB / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3724, allocations: 0 / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3724, allocations: 0 / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3725, allocations: 185.5 kB / 0.7322 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3725, allocations: 7.984 kB / 0.7322 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3726, allocations: 23.98 kB / 0.7322 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3726, allocations: 3.938 kB / 0.7322 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3727, allocations: 7.984 kB / 0.7322 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3727, allocations: 4 kB / 0.7322 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3727, allocations: 3.938 kB / 0.7322 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.373, allocations: 133 kB / 0.7324 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.373, allocations: 85.02 kB / 0.7324 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3731, allocations: 15.92 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.3731, allocations: 3.938 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.3732, allocations: 11.98 kB / 0.7325 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3732, allocations: 7.984 kB / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.772e-05/0.3732, allocations: 79.28 kB / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3732, allocations: 0 / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001993/0.3734, allocations: 16 kB / 0.7326 GB, free: 6.969 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.0001611/0.3736, allocations: 123.2 kB / 0.7327 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.3739, allocations: 83.88 kB / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3739, allocations: 0 / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3741, allocations: 51.91 kB / 0.7328 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3742, allocations: 4 kB / 0.7328 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3745, allocations: 174.6 kB / 0.733 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3747, allocations: 0.6848 MB / 0.7337 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.3749, allocations: 43.81 kB / 0.7337 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.3749, allocations: 15.42 kB / 0.7337 GB, free: 5.738 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.3749, allocations: 0 / 0.7337 GB, free: 5.738 MB / 0.545 GB Notification: Performance of Templates: time 0.002653/0.3776, allocations: 0.9737 MB / 0.7347 GB, free: 4.77 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: