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.0006681/0.0006681, allocations: 97.95 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.004026/0.004026, allocations: 170.9 kB / 16.27 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.175/1.175, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.342/1.342, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0004575/0.0004575, allocations: 16 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3649, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001557/0.3665, allocations: 1.26 MB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004571/0.367, allocations: 176.3 kB / 0.7301 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.367, allocations: 4 kB / 0.7301 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3671, allocations: 4 kB / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.3671, allocations: 3.938 kB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3674, allocations: 35.95 kB / 0.7302 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.3674, allocations: 35.92 kB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.3675, allocations: 15.97 kB / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.3675, allocations: 15.92 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.3676, allocations: 11.94 kB / 0.7302 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3676, allocations: 0 / 0.7302 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.3677, allocations: 47.95 kB / 0.7303 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3677, allocations: 7.984 kB / 0.7303 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.3678, allocations: 37.58 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3679, allocations: 63.83 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3679, allocations: 0 / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3679, allocations: 0 / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.3679, allocations: 0 / 0.7304 GB, free: 9.559 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.0004012/0.3683, allocations: 357.4 kB / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.3684, allocations: 12.03 kB / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3684, allocations: 4.844 kB / 0.7307 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3685, allocations: 172.3 kB / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3685, allocations: 4.375 kB / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3686, allocations: 4.375 kB / 0.7309 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3688, allocations: 66.17 kB / 0.731 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.3688, allocations: 192 / 0.731 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3688, allocations: 7.938 kB / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3688, allocations: 4 kB / 0.731 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.369, allocations: 51.95 kB / 0.731 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.3694, allocations: 292.7 kB / 0.7313 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3697, allocations: 62.53 kB / 0.7314 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3698, allocations: 28.91 kB / 0.7314 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.37, allocations: 174.1 kB / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.37, allocations: 30.56 kB / 0.7316 GB, free: 8.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.37, allocations: 0 / 0.7316 GB, free: 8.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003717/0.3704, allocations: 117.6 kB / 0.7317 GB, free: 7.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3704, allocations: 55.41 kB / 0.7318 GB, free: 7.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.3705, allocations: 105.8 kB / 0.7319 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3705, allocations: 25.7 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.3706, allocations: 88.05 kB / 0.732 GB, free: 7.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.3706, allocations: 11.84 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.3706, allocations: 17.7 kB / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.3707, allocations: 318.8 kB / 0.7323 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.3708, allocations: 23.98 kB / 0.7323 GB, free: 7.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.3709, allocations: 23.97 kB / 0.7324 GB, free: 7.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3711, allocations: 64.75 kB / 0.7324 GB, free: 7.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3711, allocations: 0 / 0.7324 GB, free: 7.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002174/0.3713, allocations: 89.66 kB / 0.7325 GB, free: 7.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3713, allocations: 4 kB / 0.7325 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3713, allocations: 0 / 0.7325 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3714, allocations: 336 / 0.7325 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.3714, allocations: 15.98 kB / 0.7325 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3715, allocations: 320 / 0.7325 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.3715, allocations: 7.984 kB / 0.7325 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3715, allocations: 8 kB / 0.7325 GB, free: 7.094 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 7.199e-05/0.3716, allocations: 113.8 kB / 0.7326 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3716, allocations: 11.89 kB / 0.7327 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3719, allocations: 97.48 kB / 0.7328 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3719, allocations: 3.938 kB / 0.7328 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3719, allocations: 0 / 0.7328 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3719, allocations: 0 / 0.7328 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3721, allocations: 169.6 kB / 0.7329 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3721, allocations: 0 / 0.7329 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.3722, allocations: 15.98 kB / 0.7329 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3722, allocations: 0 / 0.7329 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3722, allocations: 4 kB / 0.7329 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3722, allocations: 3.984 kB / 0.7329 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3722, allocations: 7.984 kB / 0.7329 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3724, allocations: 187.4 kB / 0.7331 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.3725, allocations: 81.02 kB / 0.7332 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3725, allocations: 4 kB / 0.7332 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.3726, allocations: 11.98 kB / 0.7332 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3726, allocations: 3.984 kB / 0.7332 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.3726, allocations: 4 kB / 0.7332 GB, free: 6.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.3727, allocations: 87.22 kB / 0.7333 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 0 / 0.7333 GB, free: 6.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002283/0.3729, allocations: 19.98 kB / 0.7333 GB, free: 6.18 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.0001621/0.3731, allocations: 126.1 kB / 0.7335 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3733, allocations: 51.94 kB / 0.7335 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3733, allocations: 4 kB / 0.7335 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.3734, allocations: 31.92 kB / 0.7335 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3737, allocations: 11.94 kB / 0.7335 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.374, allocations: 132.5 kB / 0.7337 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3742, allocations: 0.6848 MB / 0.7343 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.3742, allocations: 8 kB / 0.7343 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3742, allocations: 7.438 kB / 0.7344 GB, free: 5.074 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3742, allocations: 0 / 0.7344 GB, free: 5.074 MB / 0.545 GB Notification: Performance of Templates: time 0.002722/0.377, allocations: 0.8843 MB / 0.7352 GB, free: 4.195 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: