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.0009347/0.0009348, 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.0009375/0.0009375, allocations: 196.8 kB / 16.14 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.173/1.173, allocations: 205.1 MB / 222 MB, free: 4.73 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.324/1.324, allocations: 251.7 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.001168/0.001168, allocations: 67.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3455, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001518/0.3471, allocations: 0.6597 MB / 0.7245 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.3474, allocations: 110.5 kB / 0.7246 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.3474, allocations: 0 / 0.7246 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.3475, allocations: 7.922 kB / 0.7246 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-06/0.3475, allocations: 0 / 0.7246 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.3477, allocations: 27.97 kB / 0.7246 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.3478, allocations: 55.94 kB / 0.7246 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.3479, allocations: 4 kB / 0.7246 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.3479, allocations: 31.95 kB / 0.7247 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.3479, allocations: 15.98 kB / 0.7247 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.348, allocations: 8 kB / 0.7247 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.3481, allocations: 43.94 kB / 0.7247 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.3481, allocations: 15.98 kB / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.3481, allocations: 35.84 kB / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3483, allocations: 71.77 kB / 0.7249 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3483, allocations: 0 / 0.7249 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.21e-07/0.3483, allocations: 0 / 0.7249 GB, free: 12.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3483, allocations: 0 / 0.7249 GB, free: 12.2 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.0004194/0.3487, allocations: 381.4 kB / 0.7252 GB, free: 11.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.3488, allocations: 16.03 kB / 0.7252 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3488, allocations: 4.938 kB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.3489, allocations: 160.4 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.3491, allocations: 281.6 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3491, allocations: 384 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3493, allocations: 82.19 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3493, allocations: 3.938 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3494, allocations: 4 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3494, allocations: 7.922 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.3497, allocations: 135.8 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.3499, allocations: 185.5 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.3501, allocations: 94.53 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3503, allocations: 40.83 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3503, allocations: 3.984 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3503, allocations: 38.56 kB / 0.7262 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.011e-06/0.3503, allocations: 0 / 0.7262 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004722/0.3508, allocations: 153.8 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3508, allocations: 55.41 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.3509, allocations: 89.86 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3509, allocations: 29.7 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.3509, allocations: 80.14 kB / 0.7266 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.351, allocations: 35.45 kB / 0.7267 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.351, allocations: 25.7 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.3511, allocations: 322.8 kB / 0.727 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3512, allocations: 27.98 kB / 0.727 GB, free: 9.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3514, allocations: 35.97 kB / 0.7271 GB, free: 9.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.3516, allocations: 73.47 kB / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3516, allocations: 0 / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003016/0.3519, allocations: 117.5 kB / 0.7272 GB, free: 9.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3519, allocations: 7.938 kB / 0.7272 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.352, allocations: 4 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.352, allocations: 0 / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3521, allocations: 31.97 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3521, allocations: 0 / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.3522, allocations: 11.84 kB / 0.7273 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3522, allocations: 7.984 kB / 0.7273 GB, free: 9.422 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 7e-05/0.3523, allocations: 118.7 kB / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3523, allocations: 7.938 kB / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.3523, allocations: 11.97 kB / 0.7274 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3523, allocations: 0 / 0.7274 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3523, allocations: 3.984 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3523, allocations: 4 kB / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3525, allocations: 181.5 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3525, allocations: 0 / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3526, allocations: 19.98 kB / 0.7276 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3526, allocations: 11.88 kB / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3526, allocations: 7.984 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3526, allocations: 0 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3526, allocations: 0 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3529, allocations: 141 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.353, allocations: 89 kB / 0.7279 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.353, allocations: 3.938 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.3531, allocations: 8 kB / 0.7279 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.3531, allocations: 7.984 kB / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3531, allocations: 7.984 kB / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.3532, allocations: 75.28 kB / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3532, allocations: 0 / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001984/0.3534, allocations: 23.94 kB / 0.728 GB, free: 8.613 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.0001455/0.3535, allocations: 127.2 kB / 0.7281 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3538, allocations: 83.88 kB / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3538, allocations: 0 / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.354, allocations: 43.97 kB / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3541, allocations: 11.92 kB / 0.7282 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.3544, allocations: 174.7 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3546, allocations: 0.6848 MB / 0.7291 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.3548, allocations: 43.81 kB / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.3548, allocations: 15.42 kB / 0.7291 GB, free: 7.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3548, allocations: 0 / 0.7291 GB, free: 7.379 MB / 0.545 GB Notification: Performance of Templates: time 0.00256/0.3574, allocations: 0.9737 MB / 0.7301 GB, free: 6.41 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)