Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.932/4.932, allocations: 0.5623 GB / 0.5776 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002493/0.002493, allocations: 360.5 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.313/4.313, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001863/0.001862, allocations: 192 kB / 1.226 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005231, allocations: 16 kB / 1.349 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7404, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001835/0.7423, allocations: 1.244 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004938/0.7429, allocations: 175 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.7429, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.743, allocations: 0.875 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.743, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.7433, allocations: 40.67 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.7434, allocations: 27.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.7435, allocations: 18.47 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.7435, allocations: 7.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.7436, allocations: 19.92 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.7436, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.7438, allocations: 39.95 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.7438, allocations: 12.48 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.7438, allocations: 36.39 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.7439, allocations: 31.94 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.744, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.322e-06/0.744, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.744, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 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.0004997/0.7445, allocations: 358.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7445, allocations: 11.62 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.7446, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7447, allocations: 175.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.7448, allocations: 1.531 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.7448, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.7451, allocations: 70.16 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7451, allocations: 3.859 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.7451, allocations: 10.75 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7451, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.7455, allocations: 51.89 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.746, allocations: 278.7 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.7465, allocations: 69.25 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.7467, allocations: 29.78 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.7469, allocations: 175.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.747, allocations: 34.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 3.025e-06/0.747, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006131/0.7476, allocations: 109 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.7476, allocations: 52.19 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.7477, allocations: 118.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.7478, allocations: 25.7 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.7478, allocations: 92.69 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.7478, allocations: 11.84 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.7479, allocations: 0.8125 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.7479, allocations: 315.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.7481, allocations: 29.62 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7483, allocations: 25.27 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.7484, allocations: 25.64 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7485, allocations: 0 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003647/0.7488, allocations: 87.48 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7489, allocations: 7.75 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7489, allocations: 0.6875 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7489, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.749, allocations: 17.86 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7491, allocations: 320 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.7492, allocations: 17.88 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.7492, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.7493, allocations: 113.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.7494, allocations: 3.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.7498, allocations: 97.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7498, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7498, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.7499, allocations: 82.08 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7499, allocations: 3.953 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.75, allocations: 9.953 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.7501, allocations: 11.98 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004463/0.7506, allocations: 176.6 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003992/0.751, allocations: 266 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001723/0.7512, allocations: 27.52 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.7512, allocations: 99.19 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Backend: time 6.11e-07/0.7512, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.7519, allocations: 119 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004418/0.7523, allocations: 0.5742 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004136/0.7565, allocations: 0.9358 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB