Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7155/0.7155, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 191.9 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 404.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008823/0.0008826, allocations: 87.25 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.599e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 76.77 MB / 0.6282 GB, free: 9.992 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5679, allocations: 102.2 MB / 0.7279 GB, free: 11.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.5681, allocations: 77.77 kB / 0.728 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003764/0.5719, allocations: 1.337 MB / 0.7293 GB, free: 9.906 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5719, allocations: 0 / 0.7293 GB, free: 9.906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.5719, allocations: 4 kB / 0.7293 GB, free: 9.902 MB / 490.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.0003711/0.5723, allocations: 349.2 kB / 0.7297 GB, free: 9.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5723, allocations: 8.031 kB / 0.7297 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.5724, allocations: 15.95 kB / 0.7297 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.5725, allocations: 159.1 kB / 0.7298 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.5728, allocations: 280.8 kB / 0.7301 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.5728, allocations: 7.938 kB / 0.7301 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5729, allocations: 71.91 kB / 0.7302 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.573, allocations: 3.984 kB / 0.7302 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.573, allocations: 3.375 kB / 0.7302 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.573, allocations: 7.938 kB / 0.7302 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.5732, allocations: 117.7 kB / 0.7303 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.5733, allocations: 179.8 kB / 0.7305 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5735, allocations: 84.36 kB / 0.7306 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.5736, allocations: 39.16 kB / 0.7306 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.5736, allocations: 8 kB / 0.7306 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5736, allocations: 30.56 kB / 0.7306 GB, free: 8.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5736, allocations: 0 / 0.7306 GB, free: 8.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000202/0.5738, allocations: 94.23 kB / 0.7307 GB, free: 8.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.5739, allocations: 55.41 kB / 0.7308 GB, free: 8.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.007e-05/0.5739, allocations: 85 kB / 0.7309 GB, free: 8.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5739, allocations: 29.33 kB / 0.7309 GB, free: 8.145 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.574, allocations: 84.33 kB / 0.731 GB, free: 8.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.574, allocations: 38.94 kB / 0.731 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.574, allocations: 3.375 kB / 0.731 GB, free: 8.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.5741, allocations: 318.8 kB / 0.7313 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.5742, allocations: 22.48 kB / 0.7313 GB, free: 7.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.5742, allocations: 33.45 kB / 0.7314 GB, free: 7.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.5743, allocations: 27.91 kB / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5743, allocations: 0 / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001556/0.5745, allocations: 96.03 kB / 0.7315 GB, free: 7.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5745, allocations: 4 kB / 0.7315 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5745, allocations: 4 kB / 0.7315 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5745, allocations: 0 / 0.7315 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.5747, allocations: 27.73 kB / 0.7315 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5747, allocations: 0 / 0.7315 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.5748, allocations: 11.89 kB / 0.7315 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.5748, allocations: 11.92 kB / 0.7315 GB, free: 7.492 MB / 490.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 () * 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 6.118e-05/0.5749, allocations: 108.2 kB / 0.7316 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.5749, allocations: 4 kB / 0.7316 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.5749, allocations: 14.84 kB / 0.7317 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5749, allocations: 0 / 0.7317 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5749, allocations: 3.984 kB / 0.7317 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.575, allocations: 0 / 0.7317 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.5751, allocations: 183.6 kB / 0.7318 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5751, allocations: 0 / 0.7318 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5752, allocations: 19.98 kB / 0.7319 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5752, allocations: 4 kB / 0.7319 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.5753, allocations: 3.984 kB / 0.7319 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5753, allocations: 0 / 0.7319 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5753, allocations: 3.062 kB / 0.7319 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.5755, allocations: 134.6 kB / 0.732 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.5755, allocations: 92.94 kB / 0.7321 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.5755, allocations: 0 / 0.7321 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.5756, allocations: 7.375 kB / 0.7321 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.5757, allocations: 11.97 kB / 0.7321 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.5757, allocations: 7.938 kB / 0.7321 GB, free: 6.859 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.5757, allocations: 77.88 kB / 0.7322 GB, free: 6.785 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5757, allocations: 4 kB / 0.7322 GB, free: 6.781 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.5759, allocations: 26.25 kB / 0.7322 GB, free: 6.762 MB / 490.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 () * 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.0001843/0.5761, allocations: 130.9 kB / 0.7323 GB, free: 6.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.5763, allocations: 67.59 kB / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5763, allocations: 0 / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.5764, allocations: 52.14 kB / 0.7325 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.266e-05/0.5764, allocations: 4.938 kB / 0.7325 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.5767, allocations: 112.6 kB / 0.7326 GB, free: 6.406 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.577, allocations: 0.6866 MB / 0.7332 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.5771, allocations: 44.78 kB / 0.7333 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.5772, allocations: 15.42 kB / 0.7333 GB, free: 5.637 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5772, allocations: 0 / 0.7333 GB, free: 5.637 MB / 490.7 MB Notification: Performance of Templates: time 0.002748/0.5799, allocations: 0.9469 MB / 0.7342 GB, free: 4.699 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)