Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 177.6 kB / 8.002 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.4777/0.4777, allocations: 90.91 MB / 99.34 MB, free: 2.219 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.344/1.344, allocations: 221.5 MB / 343.2 MB, free: 1.605 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.0008692/0.0008694, allocations: 87.95 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.924e-05, allocations: 11.98 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.528, allocations: 101.5 MB / 0.6526 GB, free: 8.746 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.5282, allocations: 75.33 kB / 0.6527 GB, free: 8.707 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003562/0.5318, allocations: 1.33 MB / 0.654 GB, free: 7.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5318, allocations: 0 / 0.654 GB, free: 7.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.5318, allocations: 4 kB / 0.654 GB, free: 7.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003415/0.5322, allocations: 358.2 kB / 0.6543 GB, free: 7.148 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5322, allocations: 12.03 kB / 0.6543 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.5322, allocations: 3.953 kB / 0.6543 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5324, allocations: 167 kB / 0.6545 GB, free: 6.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.5324, allocations: 0 / 0.6545 GB, free: 6.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5324, allocations: 0 / 0.6545 GB, free: 6.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.803e-05/0.5325, allocations: 23.36 kB / 0.6545 GB, free: 6.914 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.837e-05/0.5326, allocations: 45.12 kB / 0.6546 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5326, allocations: 4 kB / 0.6546 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5326, allocations: 0 / 0.6546 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5326, allocations: 3.953 kB / 0.6546 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.5329, allocations: 254.1 kB / 0.6548 GB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5331, allocations: 41.81 kB / 0.6549 GB, free: 6.547 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.5332, allocations: 20.36 kB / 0.6549 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.5335, allocations: 409.2 kB / 0.6553 GB, free: 6.039 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.5335, allocations: 30.56 kB / 0.6553 GB, free: 6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.5335, allocations: 0 / 0.6553 GB, free: 6 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003007/0.5338, allocations: 73.53 kB / 0.6554 GB, free: 5.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.5339, allocations: 51.41 kB / 0.6554 GB, free: 5.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.534, allocations: 96.62 kB / 0.6555 GB, free: 5.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.534, allocations: 29.7 kB / 0.6555 GB, free: 5.734 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.534, allocations: 91.78 kB / 0.6556 GB, free: 5.645 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.534, allocations: 3.906 kB / 0.6556 GB, free: 5.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.534, allocations: 0 / 0.6556 GB, free: 5.641 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.5341, allocations: 314.8 kB / 0.6559 GB, free: 5.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.5342, allocations: 7.688 kB / 0.6559 GB, free: 5.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.5342, allocations: 11.31 kB / 0.6559 GB, free: 5.312 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.5343, allocations: 19.16 kB / 0.656 GB, free: 5.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5343, allocations: 0 / 0.656 GB, free: 5.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001852/0.5345, allocations: 64.48 kB / 0.656 GB, free: 5.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5346, allocations: 8 kB / 0.656 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5346, allocations: 0 / 0.656 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5346, allocations: 192 / 0.656 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.5347, allocations: 11.98 kB / 0.656 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5347, allocations: 11.89 kB / 0.6561 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.5348, allocations: 4 kB / 0.6561 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.5348, allocations: 3.562 kB / 0.6561 GB, free: 5.199 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.13e-05/0.5348, allocations: 113 kB / 0.6562 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.5349, allocations: 7.891 kB / 0.6562 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.5351, allocations: 64.98 kB / 0.6562 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5351, allocations: 3.938 kB / 0.6562 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5351, allocations: 0 / 0.6562 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5351, allocations: 7.938 kB / 0.6563 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5353, allocations: 144.7 kB / 0.6564 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5353, allocations: 0 / 0.6564 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.5353, allocations: 20.67 kB / 0.6564 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5354, allocations: 0 / 0.6564 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.5354, allocations: 0 / 0.6564 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5354, allocations: 0 / 0.6564 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5354, allocations: 8.172 kB / 0.6564 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.5356, allocations: 157.2 kB / 0.6566 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.5357, allocations: 81.05 kB / 0.6566 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5357, allocations: 8 kB / 0.6567 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.5358, allocations: 11.98 kB / 0.6567 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.5358, allocations: 4 kB / 0.6567 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.5358, allocations: 6.859 kB / 0.6567 GB, free: 4.512 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.82e-05/0.5359, allocations: 79.28 kB / 0.6568 GB, free: 4.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5359, allocations: 0 / 0.6568 GB, free: 4.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000224/0.5361, allocations: 27.34 kB / 0.6568 GB, free: 4.41 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001569/0.5362, allocations: 123.2 kB / 0.6569 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.5363, allocations: 22.81 kB / 0.6569 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5363, allocations: 0 / 0.6569 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.5364, allocations: 14.67 kB / 0.6569 GB, free: 4.254 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.5365, allocations: 8.5 kB / 0.6569 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.5367, allocations: 63.25 kB / 0.657 GB, free: 4.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5369, allocations: 0.6922 MB / 0.6577 GB, free: 3.449 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.537, allocations: 8 kB / 0.6577 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.537, allocations: 7.438 kB / 0.6577 GB, free: 3.434 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.537, allocations: 0 / 0.6577 GB, free: 3.434 MB / 458.7 MB Notification: Performance of Templates: time 0.00236/0.5394, allocations: 0.7789 MB / 0.6584 GB, free: 2.668 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)