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 4.754/4.754, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 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.002421/0.002421, allocations: 365 kB / 0.6441 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.414/4.414, allocations: 410.7 MB / 1.112 GB, free: 6.031 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.001778/0.001778, allocations: 183.5 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000845/0.0008451, allocations: 12 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6114, 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.0005954/0.6121, allocations: 318.5 kB / 1.461 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.6124, allocations: 102.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.6124, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.6124, allocations: 0.9062 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-06/0.6125, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.6127, allocations: 32.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.6128, allocations: 55.94 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.6129, allocations: 1.75 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.6129, allocations: 23.97 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.613, allocations: 23.91 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.613, allocations: 4 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.6131, allocations: 43.95 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.6132, allocations: 20.59 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.6132, allocations: 30.36 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.6133, allocations: 39.92 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6133, allocations: 1.062 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.82e-06/0.6133, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.394e-06/0.6133, allocations: 4 kB / 1.461 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.0003895/0.6137, allocations: 354.2 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6138, allocations: 14.38 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.6138, allocations: 7.906 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.6139, allocations: 170.9 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.6141, allocations: 281 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.6142, allocations: 7.984 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6144, allocations: 77.64 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6144, allocations: 1.828 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6145, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-06/0.6145, allocations: 1.094 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.6149, allocations: 139.7 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.615, allocations: 178.3 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.6154, allocations: 96.22 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6155, allocations: 44.83 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.6156, allocations: 7.984 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.6156, allocations: 32.39 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 3.613e-06/0.6156, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000569/0.6162, allocations: 151.8 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.6162, allocations: 51.41 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.142e-05/0.6162, allocations: 91.58 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.6163, allocations: 29.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.6163, allocations: 84.33 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.6163, allocations: 31.55 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-06/0.6164, allocations: 1.219 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.6164, allocations: 314.8 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6166, allocations: 34.25 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.6167, allocations: 39.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.6169, allocations: 38.11 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-06/0.6169, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000371/0.6173, allocations: 110.4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6173, allocations: 8.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.937e-06/0.6173, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6174, allocations: 2.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.6175, allocations: 19.98 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.013e-06/0.6176, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.6176, allocations: 11.98 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6177, allocations: 4 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 7.328e-05/0.6178, allocations: 127 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.6178, allocations: 7.906 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.6178, allocations: 7.969 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-06/0.6178, allocations: 0.7188 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.683e-06/0.6179, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-06/0.6179, allocations: 3.422 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.618, allocations: 185.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-06/0.618, allocations: 3.953 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.6182, allocations: 27.91 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6182, allocations: 4.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6182, allocations: 0.6875 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.03e-06/0.6182, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.895e-06/0.6182, allocations: 5.188 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.6186, allocations: 137.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.6186, allocations: 93.5 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.6187, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.6188, allocations: 12.48 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.6188, allocations: 8.609 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6188, allocations: 7.984 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.462e-05/0.6189, allocations: 80.03 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.02e-07/0.6189, allocations: 1.156 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002944/0.6192, allocations: 20 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000167/0.6194, allocations: 116.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.6197, allocations: 85.47 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.582e-06/0.6198, allocations: 0.625 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.62, allocations: 56.56 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.6201, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.6205, allocations: 166.4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.6207, allocations: 0.6887 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.6208, allocations: 36.56 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.6209, allocations: 23.42 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.632e-06/0.6209, allocations: 0.8438 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.003516/0.6244, allocations: 0.9413 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB