Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.252/5.252, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 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.002436/0.002435, allocations: 353.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.333/4.333, allocations: 410.7 MB / 1.113 GB, free: 6.012 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.001793/0.001792, allocations: 180.5 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004891, allocations: 15.98 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7344, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.000759/0.7352, allocations: 315.5 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.7356, allocations: 108.1 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.7356, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.7357, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.7357, allocations: 1.312 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.736, allocations: 27.89 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7361, allocations: 55.94 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.7361, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.7362, allocations: 25.06 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.7363, allocations: 27.91 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.7363, allocations: 0 / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.7364, allocations: 50.06 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.7365, allocations: 19.98 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.7365, allocations: 29.7 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.997e-05/0.7366, allocations: 39.92 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7366, allocations: 4 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7366, allocations: 0.6875 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7367, allocations: 0 / 1.462 GB, free: 283.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005229/0.7372, allocations: 352.1 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7372, allocations: 11.62 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.7373, allocations: 7.906 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.7374, allocations: 174.9 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.7377, allocations: 281 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.7377, allocations: 8.781 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.7381, allocations: 73.64 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.7381, allocations: 0.6875 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.7381, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7381, allocations: 1 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.7387, allocations: 135.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.7389, allocations: 187.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.7395, allocations: 98.47 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.7397, allocations: 41.39 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.7398, allocations: 1.484 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.7398, allocations: 37.86 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.855e-06/0.7398, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0008889/0.7407, allocations: 154.2 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.7408, allocations: 51.41 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.696e-05/0.7408, allocations: 89.86 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.7408, allocations: 25.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.7408, allocations: 85.11 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.7409, allocations: 36.78 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.7409, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.741, allocations: 314.8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.7413, allocations: 32.98 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.7415, allocations: 35.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.7418, allocations: 37.67 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7418, allocations: 5.453 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005777/0.7424, allocations: 111.2 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7424, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7424, allocations: 7.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7425, allocations: 0.7188 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.7427, allocations: 24.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7428, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.7429, allocations: 4.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.7429, allocations: 6.125 kB / 1.464 GB, free: 281 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.743, allocations: 121.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.7431, allocations: 11.86 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.7431, allocations: 13.09 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.7431, allocations: 1.219 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7431, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.7432, allocations: 81.61 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.7432, allocations: 7.984 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7434, allocations: 5.625 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.7434, allocations: 11.98 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007035/0.7442, allocations: 204.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006269/0.7448, allocations: 284.3 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002729/0.7451, allocations: 50.11 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.7451, allocations: 75.28 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Backend: time 1.052e-06/0.7451, allocations: 9.188 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.746, allocations: 141.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003817/0.7464, allocations: 0.5866 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.004831/0.7512, allocations: 1.27 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB