Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.731/0.731, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 178.4 kB / 173.8 MB, free: 6.125 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.73/1.73, allocations: 205.4 MB / 409 MB, free: 10.5 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.000965/0.0009647, allocations: 82.94 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 10.66 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.3314, allocations: 103.3 MB / 0.7362 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.3318, allocations: 79.94 kB / 0.7362 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004482/0.3363, allocations: 1.378 MB / 0.7376 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3364, allocations: 0 / 0.7376 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3364, allocations: 0 / 0.7376 GB, free: 5.676 MB / 0.5105 GB 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.0005558/0.337, allocations: 363.2 kB / 0.7379 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.337, allocations: 8.031 kB / 0.7379 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.3371, allocations: 7.953 kB / 0.738 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3373, allocations: 167 kB / 0.7381 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.3373, allocations: 4 kB / 0.7381 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3373, allocations: 0 / 0.7381 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3376, allocations: 73.64 kB / 0.7382 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3376, allocations: 4 kB / 0.7382 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3377, allocations: 4 kB / 0.7382 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3377, allocations: 0 / 0.7382 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.3379, allocations: 55.89 kB / 0.7382 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.3384, allocations: 280.8 kB / 0.7385 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3388, allocations: 58.55 kB / 0.7386 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.3392, allocations: 413.7 kB / 0.739 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3392, allocations: 38.5 kB / 0.739 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3392, allocations: 0 / 0.739 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004287/0.3397, allocations: 117.5 kB / 0.7391 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3397, allocations: 55.39 kB / 0.7392 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3399, allocations: 101 kB / 0.7393 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3399, allocations: 25.7 kB / 0.7393 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.34, allocations: 92.12 kB / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.34, allocations: 7.844 kB / 0.7394 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.34, allocations: 0 / 0.7394 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3402, allocations: 314.8 kB / 0.7397 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.3403, allocations: 31.97 kB / 0.7397 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.3404, allocations: 19.98 kB / 0.7397 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3405, allocations: 27.92 kB / 0.7398 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3405, allocations: 4 kB / 0.7398 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002304/0.3407, allocations: 85.64 kB / 0.7398 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3408, allocations: 8 kB / 0.7399 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3408, allocations: 0 / 0.7399 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3408, allocations: 0 / 0.7399 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.3409, allocations: 19.94 kB / 0.7399 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3409, allocations: 4 kB / 0.7399 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.341, allocations: 4 kB / 0.7399 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.341, allocations: 3.984 kB / 0.7399 GB, free: 3.023 MB / 0.5105 GB 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 0.0001144/0.3411, allocations: 116 kB / 0.74 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3412, allocations: 11.84 kB / 0.74 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3414, allocations: 97.81 kB / 0.7401 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3415, allocations: 4.031 kB / 0.7401 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3415, allocations: 3.953 kB / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3415, allocations: 0 / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.3417, allocations: 169.7 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3417, allocations: 0 / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.3418, allocations: 15.98 kB / 0.7403 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3418, allocations: 4 kB / 0.7403 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3418, allocations: 0 / 0.7403 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3418, allocations: 0 / 0.7403 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3418, allocations: 0 / 0.7403 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3421, allocations: 187.4 kB / 0.7405 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.3422, allocations: 92.95 kB / 0.7406 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3422, allocations: 4 kB / 0.7406 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.3423, allocations: 7.984 kB / 0.7406 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.3423, allocations: 7.984 kB / 0.7406 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3423, allocations: 0 / 0.7406 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.3424, allocations: 91.28 kB / 0.7407 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 0.7407 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002317/0.3426, allocations: 31.94 kB / 0.7407 GB, free: 2.094 MB / 0.5105 GB 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.0002047/0.3429, allocations: 126.9 kB / 0.7408 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3431, allocations: 59.95 kB / 0.7409 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3431, allocations: 0 / 0.7409 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3432, allocations: 27.92 kB / 0.7409 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3434, allocations: 4 kB / 0.7409 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.3438, allocations: 132.7 kB / 0.741 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.344, allocations: 0.6809 MB / 0.7417 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.3441, allocations: 0 / 0.7417 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.3441, allocations: 11.44 kB / 0.7417 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.3441, allocations: 0 / 0.7417 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of Templates: time 0.003081/0.3472, allocations: 0.8377 MB / 0.7425 GB, free: 164 kB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)