Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 186.9 kB / 15.77 MB, free: 6.004 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8265/0.8265, allocations: 82.92 MB / 99.42 MB, free: 3.203 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.388/2.388, allocations: 205.4 MB / 325.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.84 kB / 393.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004547, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.09019, allocations: 67.45 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0006963/0.09093, allocations: 304.3 kB / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.09131, allocations: 97.44 kB / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.09134, allocations: 4 kB / 0.5267 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.09138, allocations: 0 / 0.5267 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.282e-06/0.0914, allocations: 3.938 kB / 0.5268 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.09166, allocations: 35.83 kB / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.09178, allocations: 43.94 kB / 0.5268 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.09184, allocations: 4 kB / 0.5268 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.09189, allocations: 19.98 kB / 0.5269 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.09195, allocations: 23.95 kB / 0.5269 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.09198, allocations: 4 kB / 0.5269 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.09211, allocations: 35.97 kB / 0.5269 GB, free: 14.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.09217, allocations: 27.95 kB / 0.5269 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.09222, allocations: 33.64 kB / 0.527 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.09234, allocations: 43.94 kB / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.643e-06/0.09236, allocations: 0 / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.975e-06/0.09237, allocations: 0 / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09238, allocations: 3.938 kB / 0.527 GB, free: 14.37 MB / 378.7 MB 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.0005092/0.0929, allocations: 355.6 kB / 0.5274 GB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.09295, allocations: 8.031 kB / 0.5274 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.09301, allocations: 4 kB / 0.5274 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.09315, allocations: 171 kB / 0.5275 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.09349, allocations: 281 kB / 0.5278 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.09353, allocations: 4 kB / 0.5278 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.09381, allocations: 85.56 kB / 0.5279 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-06/0.09384, allocations: 0 / 0.5279 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.09386, allocations: 3.953 kB / 0.5279 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-06/0.09388, allocations: 0 / 0.5279 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.09432, allocations: 131.8 kB / 0.528 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.09457, allocations: 173.7 kB / 0.5282 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.09495, allocations: 102.6 kB / 0.5283 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.09499, allocations: 0 / 0.5283 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.09503, allocations: 38.5 kB / 0.5283 GB, free: 12.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.925e-06/0.09505, allocations: 0 / 0.5283 GB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006221/0.09568, allocations: 149.5 kB / 0.5285 GB, free: 12.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.09574, allocations: 55.36 kB / 0.5285 GB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.09581, allocations: 89.86 kB / 0.5286 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.09585, allocations: 33.7 kB / 0.5286 GB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.09591, allocations: 80.55 kB / 0.5287 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.09598, allocations: 43.44 kB / 0.5287 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-06/0.096, allocations: 3.938 kB / 0.5287 GB, free: 12.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.09617, allocations: 314.8 kB / 0.529 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.09635, allocations: 31.97 kB / 0.5291 GB, free: 11.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.09652, allocations: 35.91 kB / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.0967, allocations: 31.92 kB / 0.5291 GB, free: 11.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-06/0.09672, allocations: 4 kB / 0.5291 GB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000442/0.09717, allocations: 113.6 kB / 0.5293 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.0972, allocations: 7.938 kB / 0.5293 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.423e-06/0.09722, allocations: 0 / 0.5293 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.09724, allocations: 0 / 0.5293 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.09744, allocations: 23.98 kB / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.822e-06/0.09746, allocations: 0 / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.09755, allocations: 19.88 kB / 0.5293 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.09758, allocations: 4 kB / 0.5293 GB, free: 11.74 MB / 378.7 MB 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 0.0001199/0.09771, allocations: 121.8 kB / 0.5294 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.09775, allocations: 11.89 kB / 0.5294 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.0978, allocations: 11.97 kB / 0.5294 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-06/0.09781, allocations: 0 / 0.5294 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-06/0.09782, allocations: 0 / 0.5294 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.714e-06/0.09784, allocations: 0 / 0.5294 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.09804, allocations: 181.6 kB / 0.5296 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-06/0.09806, allocations: 0 / 0.5296 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.09823, allocations: 23.97 kB / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-06/0.09824, allocations: 0 / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.09827, allocations: 8 kB / 0.5297 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.763e-06/0.09828, allocations: 0 / 0.5297 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-06/0.0983, allocations: 0 / 0.5297 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.09878, allocations: 152.8 kB / 0.5298 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.09885, allocations: 81.05 kB / 0.5299 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.09888, allocations: 4 kB / 0.5299 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.09896, allocations: 4 kB / 0.5299 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.09904, allocations: 15.97 kB / 0.5299 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.09908, allocations: 11.98 kB / 0.5299 GB, free: 11.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.09913, allocations: 75.28 kB / 0.53 GB, free: 10.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.5e-07/0.09914, allocations: 0 / 0.53 GB, free: 10.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.09946, allocations: 23.98 kB / 0.53 GB, free: 10.94 MB / 378.7 MB 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.0002207/0.09969, allocations: 111.2 kB / 0.5301 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1001, allocations: 96.67 kB / 0.5302 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1001, allocations: 4 kB / 0.5302 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1003, allocations: 47.91 kB / 0.5303 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1005, allocations: 11.95 kB / 0.5303 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.1009, allocations: 163.1 kB / 0.5304 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1013, allocations: 0.6887 MB / 0.5311 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.1015, allocations: 35.95 kB / 0.5311 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1016, allocations: 19.42 kB / 0.5311 GB, free: 9.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.729e-06/0.1016, allocations: 0 / 0.5311 GB, free: 9.703 MB / 378.7 MB Notification: Performance of Templates: time 0.003797/0.1054, allocations: 0.9294 MB / 0.5321 GB, free: 8.777 MB / 378.7 MB