Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0007686/0.0007686, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.004987/0.004987, allocations: 170.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 11.72 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0009426/0.3479, allocations: 318.8 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.3484, allocations: 109.8 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.3484, allocations: 4 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.3485, allocations: 0 / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.3485, allocations: 0 / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.3489, allocations: 27.97 kB / 1.075 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3491, allocations: 63.92 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.3491, allocations: 0 / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.3492, allocations: 27.97 kB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.3493, allocations: 23.97 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3493, allocations: 0 / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3495, allocations: 51.95 kB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.3496, allocations: 19.97 kB / 1.075 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.3497, allocations: 53.5 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3499, allocations: 71.83 kB / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3499, allocations: 0 / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3499, allocations: 0 / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3499, allocations: 0 / 1.075 GB, free: 6.75 MB / 0.8262 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.0006272/0.3506, allocations: 351.6 kB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3506, allocations: 8.031 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.3507, allocations: 8.844 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3508, allocations: 172.6 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.3512, allocations: 277.6 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3512, allocations: 4.375 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.3515, allocations: 86.12 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3516, allocations: 3.938 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.3516, allocations: 3.984 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3516, allocations: 7.938 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.3521, allocations: 131.8 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.3524, allocations: 173.7 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.3528, allocations: 94.52 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.353, allocations: 44.77 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.353, allocations: 8 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.353, allocations: 34.56 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.597e-06/0.3531, allocations: 0 / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0007234/0.3538, allocations: 161.6 kB / 1.076 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3539, allocations: 51.41 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.3539, allocations: 89.86 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3539, allocations: 29.7 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.354, allocations: 80.14 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.3541, allocations: 39.53 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3541, allocations: 13.72 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3542, allocations: 318.8 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3544, allocations: 31.97 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3546, allocations: 31.97 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.355, allocations: 84.69 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.355, allocations: 0 / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004621/0.3555, allocations: 109.5 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3556, allocations: 11.94 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3556, allocations: 0 / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3556, allocations: 4 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.3558, allocations: 23.97 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3558, allocations: 0 / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.3559, allocations: 7.938 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3559, allocations: 4 kB / 1.077 GB, free: 4.012 MB / 0.8262 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 0.000114/0.3561, allocations: 121.8 kB / 1.077 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3561, allocations: 11.84 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.3562, allocations: 11.97 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3562, allocations: 0 / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3562, allocations: 4 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3562, allocations: 0 / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3564, allocations: 181.6 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3564, allocations: 3.938 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.3566, allocations: 23.98 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.3566, allocations: 3.938 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3566, allocations: 7.984 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3566, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3566, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.3571, allocations: 141.8 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3572, allocations: 81.02 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3572, allocations: 11.92 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3573, allocations: 4 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.3574, allocations: 7.984 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3574, allocations: 15.92 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.3574, allocations: 75.28 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.374e-06/0.3574, allocations: 0 / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003338/0.3578, allocations: 27.94 kB / 1.078 GB, free: 3.191 MB / 0.8262 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.0002525/0.358, allocations: 127.2 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.3585, allocations: 83.88 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3585, allocations: 0 / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.3588, allocations: 48.23 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.359, allocations: 8.219 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.3595, allocations: 178.6 kB / 1.078 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3598, allocations: 0.6848 MB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.3601, allocations: 47.59 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.3601, allocations: 15.42 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3601, allocations: 0 / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004634/0.3648, allocations: 0.9669 MB / 1.08 GB, free: 0.9805 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)