Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, 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.0009225/0.0009225, allocations: 193.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.197/1.197, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.367/1.367, allocations: 251.7 MB / 0.5092 GB, free: 3.133 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.001395/0.001395, allocations: 71.91 kB / 0.6223 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 104.7 MB / 0.7245 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002448/0.3506, allocations: 1.529 MB / 0.726 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.351, allocations: 188.2 kB / 0.7262 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.3511, allocations: 4 kB / 0.7262 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.3511, allocations: 3.938 kB / 0.7262 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.3512, allocations: 3.938 kB / 0.7262 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3515, allocations: 51.88 kB / 0.7262 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.3515, allocations: 31.92 kB / 0.7263 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.3516, allocations: 15.98 kB / 0.7263 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.3517, allocations: 23.91 kB / 0.7263 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.3517, allocations: 19.92 kB / 0.7263 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3517, allocations: 0 / 0.7263 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3518, allocations: 43.97 kB / 0.7264 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3519, allocations: 11.98 kB / 0.7264 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.3519, allocations: 15.86 kB / 0.7264 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.352, allocations: 67.84 kB / 0.7265 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.352, allocations: 0 / 0.7265 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.352, allocations: 0 / 0.7265 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3521, allocations: 0 / 0.7265 GB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004158/0.3525, allocations: 357.5 kB / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3525, allocations: 8.031 kB / 0.7268 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.3525, allocations: 8.922 kB / 0.7268 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.3526, allocations: 168.3 kB / 0.727 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3527, allocations: 4.375 kB / 0.727 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3527, allocations: 384 / 0.727 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3529, allocations: 74.09 kB / 0.7271 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3529, allocations: 192 / 0.7271 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3529, allocations: 3.938 kB / 0.7271 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3529, allocations: 8 kB / 0.7271 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3531, allocations: 43.95 kB / 0.7271 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.3534, allocations: 280.7 kB / 0.7274 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.3537, allocations: 70.41 kB / 0.7274 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.3538, allocations: 24.91 kB / 0.7275 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.354, allocations: 162.2 kB / 0.7276 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3541, allocations: 38.55 kB / 0.7277 GB, free: 9.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3541, allocations: 0 / 0.7277 GB, free: 9.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.3544, allocations: 97.55 kB / 0.7278 GB, free: 9.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.3545, allocations: 55.34 kB / 0.7278 GB, free: 9.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.3545, allocations: 109.8 kB / 0.7279 GB, free: 9.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3546, allocations: 25.7 kB / 0.7279 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.3546, allocations: 88.12 kB / 0.728 GB, free: 9.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.3546, allocations: 7.844 kB / 0.728 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3547, allocations: 17.72 kB / 0.728 GB, free: 9.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.3547, allocations: 322.8 kB / 0.7284 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.3548, allocations: 19.97 kB / 0.7284 GB, free: 8.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.3549, allocations: 19.98 kB / 0.7284 GB, free: 8.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3551, allocations: 48.81 kB / 0.7284 GB, free: 8.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3551, allocations: 0 / 0.7284 GB, free: 8.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001997/0.3553, allocations: 73.59 kB / 0.7285 GB, free: 8.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3553, allocations: 8 kB / 0.7285 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3553, allocations: 0 / 0.7285 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3553, allocations: 4.312 kB / 0.7285 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.3554, allocations: 12 kB / 0.7285 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3554, allocations: 0 / 0.7285 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.3555, allocations: 7.984 kB / 0.7285 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.3555, allocations: 0 / 0.7285 GB, free: 8.688 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.411e-05/0.3556, allocations: 117.8 kB / 0.7286 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3556, allocations: 7.891 kB / 0.7287 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.3558, allocations: 89.53 kB / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3559, allocations: 0 / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3559, allocations: 0 / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3559, allocations: 0 / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.356, allocations: 169.5 kB / 0.7289 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.356, allocations: 0 / 0.7289 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.3561, allocations: 19.98 kB / 0.7289 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3561, allocations: 3.938 kB / 0.7289 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3561, allocations: 4 kB / 0.7289 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3561, allocations: 3.938 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3561, allocations: 0 / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3564, allocations: 171.4 kB / 0.7291 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.3564, allocations: 81.02 kB / 0.7292 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3564, allocations: 8 kB / 0.7292 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.3565, allocations: 7.984 kB / 0.7292 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3566, allocations: 8 kB / 0.7292 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3566, allocations: 0 / 0.7292 GB, free: 7.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.3566, allocations: 91.27 kB / 0.7293 GB, free: 7.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.3566, allocations: 0 / 0.7293 GB, free: 7.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002309/0.3569, allocations: 12 kB / 0.7293 GB, free: 7.805 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000143/0.357, allocations: 119.2 kB / 0.7294 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.3572, allocations: 51.95 kB / 0.7295 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3572, allocations: 0 / 0.7295 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.3573, allocations: 23.97 kB / 0.7295 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3576, allocations: 13.95 kB / 0.7295 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.3579, allocations: 129.3 kB / 0.7296 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.358, allocations: 0.6807 MB / 0.7303 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.3581, allocations: 4 kB / 0.7303 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3581, allocations: 15.42 kB / 0.7303 GB, free: 6.711 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.3581, allocations: 0 / 0.7303 GB, free: 6.711 MB / 0.545 GB Notification: Performance of Templates: time 0.002825/0.3609, allocations: 0.9864 MB / 0.7313 GB, free: 5.734 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)