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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001099/0.0011, allocations: 171.9 kB / 16.76 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4644/0.4644, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.377/1.377, allocations: 223.2 MB / 348.4 MB, free: 5.02 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.0009409/0.0009409, allocations: 94.89 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003914, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 71.02 MB / 0.5595 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4509, allocations: 100.8 MB / 0.6579 GB, free: 8.688 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4512, allocations: 75.95 kB / 0.658 GB, free: 8.613 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004295/0.4555, allocations: 1.348 MB / 0.6593 GB, free: 7.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4555, allocations: 0 / 0.6593 GB, free: 7.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4555, allocations: 0 / 0.6593 GB, free: 7.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004944/0.456, allocations: 367.4 kB / 0.6596 GB, free: 6.859 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4561, allocations: 12.03 kB / 0.6596 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.4561, allocations: 0.9375 kB / 0.6596 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4563, allocations: 168.3 kB / 0.6598 GB, free: 6.645 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4563, allocations: 384 / 0.6598 GB, free: 6.645 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.4564, allocations: 4.375 kB / 0.6598 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4566, allocations: 74.16 kB / 0.6599 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4566, allocations: 192 / 0.6599 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4566, allocations: 7.938 kB / 0.6599 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4566, allocations: 4 kB / 0.6599 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4568, allocations: 51.94 kB / 0.6599 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.4572, allocations: 288.8 kB / 0.6602 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.4575, allocations: 58.48 kB / 0.6603 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.4576, allocations: 36.89 kB / 0.6603 GB, free: 6.062 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.458, allocations: 405.5 kB / 0.6607 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4581, allocations: 34.56 kB / 0.6607 GB, free: 5.531 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4581, allocations: 0 / 0.6607 GB, free: 5.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003971/0.4585, allocations: 117.5 kB / 0.6608 GB, free: 5.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.4585, allocations: 55.34 kB / 0.6609 GB, free: 5.344 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.4586, allocations: 105.8 kB / 0.661 GB, free: 5.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4586, allocations: 25.7 kB / 0.661 GB, free: 5.199 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.4587, allocations: 92.22 kB / 0.6611 GB, free: 5.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4587, allocations: 11.83 kB / 0.6611 GB, free: 5.094 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.4587, allocations: 0 / 0.6611 GB, free: 5.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4589, allocations: 322.8 kB / 0.6614 GB, free: 4.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.459, allocations: 23.98 kB / 0.6614 GB, free: 4.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.459, allocations: 23.98 kB / 0.6615 GB, free: 4.723 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.4592, allocations: 56.81 kB / 0.6615 GB, free: 4.664 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4592, allocations: 0 / 0.6615 GB, free: 4.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.4594, allocations: 85.66 kB / 0.6616 GB, free: 4.574 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4595, allocations: 15.92 kB / 0.6616 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4595, allocations: 0 / 0.6616 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4595, allocations: 0 / 0.6616 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.4596, allocations: 11.98 kB / 0.6616 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4596, allocations: 3.938 kB / 0.6616 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.4597, allocations: 15.91 kB / 0.6616 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4597, allocations: 0 / 0.6616 GB, free: 4.527 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked 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 7.559e-05/0.4598, allocations: 121.8 kB / 0.6618 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.4598, allocations: 0 / 0.6618 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.46, allocations: 97.48 kB / 0.6619 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4601, allocations: 8 kB / 0.6619 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4601, allocations: 0 / 0.6619 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4601, allocations: 0 / 0.6619 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4602, allocations: 169.6 kB / 0.662 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4602, allocations: 3.938 kB / 0.662 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.4603, allocations: 11.98 kB / 0.662 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4603, allocations: 4 kB / 0.662 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.4604, allocations: 4 kB / 0.662 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4604, allocations: 0 / 0.662 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4604, allocations: 0 / 0.662 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4606, allocations: 187.7 kB / 0.6622 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.4607, allocations: 89.14 kB / 0.6623 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4607, allocations: 0 / 0.6623 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.4608, allocations: 7.984 kB / 0.6623 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4608, allocations: 4 kB / 0.6623 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.4608, allocations: 3.984 kB / 0.6623 GB, free: 3.719 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.4609, allocations: 87.28 kB / 0.6624 GB, free: 3.633 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4609, allocations: 0 / 0.6624 GB, free: 3.633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.4611, allocations: 31.94 kB / 0.6624 GB, free: 3.602 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked 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.0001952/0.4613, allocations: 119.2 kB / 0.6626 GB, free: 3.477 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4616, allocations: 55.95 kB / 0.6626 GB, free: 3.422 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4616, allocations: 4 kB / 0.6626 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.4617, allocations: 27.97 kB / 0.6626 GB, free: 3.391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.462, allocations: 11.88 kB / 0.6626 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.4623, allocations: 120.6 kB / 0.6628 GB, free: 3.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4626, allocations: 0.6887 MB / 0.6634 GB, free: 2.516 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.4627, allocations: 7.984 kB / 0.6634 GB, free: 2.508 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.4627, allocations: 15.44 kB / 0.6635 GB, free: 2.492 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4627, allocations: 0 / 0.6635 GB, free: 2.492 MB / 474.7 MB Notification: Performance of Templates: time 0.003187/0.4659, allocations: 0.8608 MB / 0.6643 GB, free: 1.641 MB / 474.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)