Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001509/0.001509, 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.001858/0.001858, allocations: 194.2 kB / 16.14 MB, free: 6.707 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.48 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003132/0.3495, allocations: 1.609 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004804/0.35, allocations: 179.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.3501, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.3501, allocations: 3.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.3502, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3504, allocations: 43.89 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.3505, allocations: 35.92 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.3506, allocations: 19.97 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.3507, allocations: 11.92 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.3507, allocations: 15.92 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3507, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3508, allocations: 43.95 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3509, allocations: 11.94 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.3509, allocations: 11.92 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.351, allocations: 67.84 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.351, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3511, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.3511, allocations: 0 / 1.069 GB, free: 8.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004921/0.3516, allocations: 351.7 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3516, allocations: 8.031 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3516, allocations: 8.875 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3518, allocations: 172.3 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.3518, allocations: 4.375 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3518, allocations: 4.375 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.3521, allocations: 62.23 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3521, allocations: 8.062 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3521, allocations: 7.922 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3521, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3523, allocations: 43.95 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3528, allocations: 288.7 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3532, allocations: 62.47 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3533, allocations: 24.91 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.3536, allocations: 162.2 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3537, allocations: 34.56 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3537, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004488/0.3541, allocations: 93.62 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3542, allocations: 51.41 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3543, allocations: 109.8 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3543, allocations: 33.7 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.3544, allocations: 84.14 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3544, allocations: 7.891 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3545, allocations: 17.72 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3547, allocations: 314.8 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.3548, allocations: 23.97 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.3549, allocations: 19.98 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.3551, allocations: 48.81 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3551, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/0.3553, allocations: 77.56 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3553, allocations: 8 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3553, allocations: 336 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3554, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.3554, allocations: 15.92 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3555, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.3555, allocations: 15.92 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3555, allocations: 320 / 1.072 GB, free: 6.484 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: 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 8.768e-05/0.3556, allocations: 118.4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.3557, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.356, allocations: 85.55 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.356, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.356, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.356, allocations: 3.984 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3562, allocations: 169.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3562, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.3563, allocations: 15.92 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3563, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3563, allocations: 7.938 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3566, allocations: 175.4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3567, allocations: 81.09 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3567, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3568, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3568, allocations: 11.98 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3569, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.3569, allocations: 99.25 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3569, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002553/0.3572, allocations: 12 kB / 1.072 GB, free: 5.605 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: 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.0002146/0.3574, allocations: 123.2 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3576, allocations: 43.95 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3576, allocations: 0 / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3578, allocations: 31.97 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3581, allocations: 11.88 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3584, allocations: 135 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3587, allocations: 0.6809 MB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.3588, allocations: 8 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3588, allocations: 11.42 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3588, allocations: 3.938 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.003548/0.3624, allocations: 0.8841 MB / 1.074 GB, free: 3.617 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)