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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 188.7 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4697/0.4697, allocations: 90.84 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009525, allocations: 92.8 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.776e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 72.3 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4286, allocations: 100.3 MB / 0.6509 GB, free: 9.656 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4289, allocations: 75.95 kB / 0.651 GB, free: 9.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003517/0.4324, allocations: 0.9247 MB / 0.6519 GB, free: 8.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.4324, allocations: 0 / 0.6519 GB, free: 8.676 MB / 474.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.0003788/0.4328, allocations: 355.1 kB / 0.6522 GB, free: 8.285 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4329, allocations: 14 kB / 0.6522 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.4329, allocations: 4 kB / 0.6522 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.433, allocations: 170.9 kB / 0.6524 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.4332, allocations: 277 kB / 0.6527 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.4333, allocations: 0 / 0.6527 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001998/0.4335, allocations: 120.5 kB / 0.6528 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.4336, allocations: 63.19 kB / 0.6528 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4336, allocations: 0.7812 kB / 0.6528 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4336, allocations: 0 / 0.6528 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4336, allocations: 8.859 kB / 0.6528 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.4338, allocations: 159 kB / 0.653 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4339, allocations: 82.48 kB / 0.6531 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.434, allocations: 33.91 kB / 0.6531 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.434, allocations: 4 kB / 0.6531 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.434, allocations: 31.41 kB / 0.6531 GB, free: 7.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.434, allocations: 3.938 kB / 0.6531 GB, free: 7.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003264/0.4344, allocations: 93.56 kB / 0.6532 GB, free: 7.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4344, allocations: 56.48 kB / 0.6533 GB, free: 7.016 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.4344, allocations: 85.94 kB / 0.6534 GB, free: 6.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4345, allocations: 25.7 kB / 0.6534 GB, free: 6.895 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.4345, allocations: 85.64 kB / 0.6535 GB, free: 6.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4345, allocations: 31.55 kB / 0.6535 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4345, allocations: 0 / 0.6535 GB, free: 6.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.4347, allocations: 323.4 kB / 0.6538 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.4347, allocations: 19.98 kB / 0.6538 GB, free: 6.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.4347, allocations: 30.91 kB / 0.6539 GB, free: 6.402 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.4349, allocations: 28.7 kB / 0.6539 GB, free: 6.375 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4349, allocations: 0 / 0.6539 GB, free: 6.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/0.4352, allocations: 103.1 kB / 0.654 GB, free: 6.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4352, allocations: 4 kB / 0.654 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4352, allocations: 0 / 0.654 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4352, allocations: 0 / 0.654 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4354, allocations: 29.55 kB / 0.654 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.4354, allocations: 0 / 0.654 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.4355, allocations: 8.734 kB / 0.654 GB, free: 6.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4355, allocations: 4 kB / 0.654 GB, free: 6.227 MB / 474.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.517e-05/0.4356, allocations: 110.1 kB / 0.6541 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.4356, allocations: 4.625 kB / 0.6541 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.4356, allocations: 7.906 kB / 0.6541 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4356, allocations: 4.5 kB / 0.6541 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4356, allocations: 0.5312 kB / 0.6541 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4357, allocations: 3.984 kB / 0.6542 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.4358, allocations: 152.5 kB / 0.6543 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4358, allocations: 0 / 0.6543 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.4359, allocations: 24.47 kB / 0.6543 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4359, allocations: 4.938 kB / 0.6543 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4359, allocations: 0 / 0.6543 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4359, allocations: 0 / 0.6543 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.436, allocations: 7.531 kB / 0.6543 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002795/0.4362, allocations: 132.4 kB / 0.6545 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.4363, allocations: 88.95 kB / 0.6545 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.4363, allocations: 0.6875 kB / 0.6545 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.4364, allocations: 9.734 kB / 0.6546 GB, free: 5.621 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.4364, allocations: 12.55 kB / 0.6546 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4365, allocations: 13.34 kB / 0.6546 GB, free: 5.598 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.93e-05/0.4365, allocations: 75.28 kB / 0.6547 GB, free: 5.523 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.4367, allocations: 20 kB / 0.6547 GB, free: 5.504 MB / 474.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.0001778/0.4369, allocations: 126.5 kB / 0.6548 GB, free: 5.375 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4371, allocations: 67.91 kB / 0.6549 GB, free: 5.309 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4371, allocations: 0.75 kB / 0.6549 GB, free: 5.309 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.4371, allocations: 39.98 kB / 0.6549 GB, free: 5.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.653e-05/0.4372, allocations: 8.219 kB / 0.6549 GB, free: 5.266 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.4375, allocations: 108.7 kB / 0.655 GB, free: 5.137 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.4378, allocations: 0.7055 MB / 0.6557 GB, free: 4.406 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4378, allocations: 0 / 0.6557 GB, free: 4.406 MB / 474.7 MB Notification: Performance of Templates: time 0.003018/0.4408, allocations: 1.243 MB / 0.6569 GB, free: 3.211 MB / 474.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)