Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4727/0.4727, allocations: 90.92 MB / 99.35 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 99.83 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.865e-05, allocations: 8 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5629, allocations: 100.4 MB / 0.6516 GB, free: 9.828 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5632, allocations: 76.58 kB / 0.6517 GB, free: 9.785 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003346/0.5666, allocations: 1.219 MB / 0.6529 GB, free: 8.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5666, allocations: 0 / 0.6529 GB, free: 8.684 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.5666, allocations: 0 / 0.6529 GB, free: 8.684 MB / 458.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.0003613/0.5669, allocations: 358 kB / 0.6532 GB, free: 8.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.567, allocations: 8.031 kB / 0.6532 GB, free: 8.289 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.567, allocations: 11.95 kB / 0.6532 GB, free: 8.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.5671, allocations: 167 kB / 0.6534 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.5674, allocations: 280.5 kB / 0.6537 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.5674, allocations: 4 kB / 0.6537 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001817/0.5676, allocations: 110.4 kB / 0.6538 GB, free: 7.645 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5677, allocations: 69.52 kB / 0.6538 GB, free: 7.578 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5677, allocations: 0 / 0.6538 GB, free: 7.578 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5677, allocations: 3.938 kB / 0.6538 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5677, allocations: 3.953 kB / 0.6538 GB, free: 7.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.5679, allocations: 153.8 kB / 0.654 GB, free: 7.387 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.568, allocations: 80.44 kB / 0.6541 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.5681, allocations: 35.72 kB / 0.6541 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.5681, allocations: 0 / 0.6541 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5681, allocations: 30.56 kB / 0.6541 GB, free: 7.246 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.5681, allocations: 0 / 0.6541 GB, free: 7.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001312/0.5695, allocations: 205.7 kB / 0.6543 GB, free: 7.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.5695, allocations: 63.34 kB / 0.6544 GB, free: 6.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.5695, allocations: 85 kB / 0.6545 GB, free: 6.898 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5696, allocations: 25.7 kB / 0.6545 GB, free: 6.867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.5696, allocations: 83.64 kB / 0.6546 GB, free: 6.781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.5696, allocations: 35.02 kB / 0.6546 GB, free: 6.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5697, allocations: 0 / 0.6546 GB, free: 6.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.5698, allocations: 318.7 kB / 0.6549 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.5698, allocations: 26.17 kB / 0.6549 GB, free: 6.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.5698, allocations: 22.48 kB / 0.655 GB, free: 6.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.571, allocations: 141.8 kB / 0.6551 GB, free: 6.273 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.571, allocations: 0 / 0.6551 GB, free: 6.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001199/0.5722, allocations: 206.2 kB / 0.6553 GB, free: 6.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5722, allocations: 4 kB / 0.6553 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5722, allocations: 4 kB / 0.6553 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5722, allocations: 0 / 0.6553 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5724, allocations: 19.98 kB / 0.6553 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5724, allocations: 0 / 0.6553 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.5725, allocations: 8.859 kB / 0.6553 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5725, allocations: 7.938 kB / 0.6553 GB, free: 6.047 MB / 458.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.143e-05/0.5725, allocations: 108.9 kB / 0.6554 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.5726, allocations: 11.89 kB / 0.6555 GB, free: 5.922 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.5726, allocations: 14.08 kB / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5726, allocations: 0 / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5726, allocations: 0 / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5726, allocations: 0 / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.5727, allocations: 152.8 kB / 0.6556 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5727, allocations: 3.375 kB / 0.6556 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5729, allocations: 27.94 kB / 0.6556 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5729, allocations: 4 kB / 0.6556 GB, free: 5.707 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5729, allocations: 3.984 kB / 0.6556 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5729, allocations: 4 kB / 0.6557 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5729, allocations: 0 / 0.6557 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.5741, allocations: 238 kB / 0.6559 GB, free: 5.477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.5742, allocations: 85.05 kB / 0.656 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.5742, allocations: 3.953 kB / 0.656 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.5743, allocations: 4 kB / 0.656 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.5743, allocations: 15.97 kB / 0.656 GB, free: 5.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5744, allocations: 7.938 kB / 0.656 GB, free: 5.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.5744, allocations: 75.28 kB / 0.6561 GB, free: 5.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5744, allocations: 0 / 0.6561 GB, free: 5.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.5746, allocations: 27.67 kB / 0.6561 GB, free: 5.246 MB / 458.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.0001842/0.5748, allocations: 123.2 kB / 0.6562 GB, free: 5.113 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.5749, allocations: 66.39 kB / 0.6563 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5749, allocations: 4 kB / 0.6563 GB, free: 5.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.575, allocations: 39.27 kB / 0.6563 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.394e-05/0.5751, allocations: 224 / 0.6563 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.5753, allocations: 106.7 kB / 0.6564 GB, free: 4.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5755, allocations: 0.6885 MB / 0.6571 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.5756, allocations: 35.16 kB / 0.6571 GB, free: 4.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.5757, allocations: 15.42 kB / 0.6571 GB, free: 4.145 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5757, allocations: 0 / 0.6571 GB, free: 4.145 MB / 458.7 MB Notification: Performance of Templates: time 0.00255/0.5782, allocations: 0.9014 MB / 0.658 GB, free: 3.254 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)