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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000973/0.0009732, allocations: 86.06 kB / 16.66 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 180.1 kB / 17.58 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003295, allocations: 15.98 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0006817/0.3621, allocations: 312.6 kB / 0.5609 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004053/0.3625, allocations: 109.8 kB / 0.561 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.3626, allocations: 1.5 kB / 0.561 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3626, allocations: 0.5156 kB / 0.561 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.3626, allocations: 0 / 0.561 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3629, allocations: 36.47 kB / 0.561 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.363, allocations: 61.88 kB / 0.5611 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.3631, allocations: 0 / 0.5611 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.3631, allocations: 22.22 kB / 0.5611 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.3632, allocations: 31.78 kB / 0.5611 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3632, allocations: 3.25 kB / 0.5611 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3633, allocations: 36.39 kB / 0.5612 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.3634, allocations: 24.36 kB / 0.5612 GB, free: 35.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.3634, allocations: 55.23 kB / 0.5613 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3636, allocations: 44.66 kB / 0.5613 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3636, allocations: 0 / 0.5613 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3636, allocations: 0 / 0.5613 GB, free: 35.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.3636, allocations: 1.062 kB / 0.5613 GB, free: 35.84 MB / 446.1 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.000399/0.364, allocations: 348.5 kB / 0.5616 GB, free: 35.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.364, allocations: 13.44 kB / 0.5616 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.3641, allocations: 10.53 kB / 0.5617 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.359e-05/0.3641, allocations: 168.3 kB / 0.5618 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.3643, allocations: 281.6 kB / 0.5621 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3644, allocations: 7.781 kB / 0.5621 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.3646, allocations: 84.42 kB / 0.5622 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3646, allocations: 3.938 kB / 0.5622 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3647, allocations: 0 / 0.5622 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3647, allocations: 2 kB / 0.5622 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.3651, allocations: 132.8 kB / 0.5623 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3652, allocations: 180.7 kB / 0.5625 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3655, allocations: 90.14 kB / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3657, allocations: 46.86 kB / 0.5626 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3657, allocations: 5.406 kB / 0.5626 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3657, allocations: 33.94 kB / 0.5626 GB, free: 34.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.3657, allocations: 1.125 kB / 0.5626 GB, free: 34.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005372/0.3663, allocations: 151 kB / 0.5628 GB, free: 34.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3663, allocations: 52.66 kB / 0.5628 GB, free: 34.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.3663, allocations: 95.73 kB / 0.5629 GB, free: 34.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3664, allocations: 25.7 kB / 0.563 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.3664, allocations: 81.14 kB / 0.563 GB, free: 34.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3664, allocations: 40.05 kB / 0.5631 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.3665, allocations: 17.38 kB / 0.5631 GB, free: 34.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.3665, allocations: 314.2 kB / 0.5634 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3667, allocations: 34.69 kB / 0.5634 GB, free: 33.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3668, allocations: 44.14 kB / 0.5635 GB, free: 33.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.3671, allocations: 76.3 kB / 0.5635 GB, free: 33.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3671, allocations: 0.7031 kB / 0.5635 GB, free: 33.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003255/0.3674, allocations: 112.9 kB / 0.5636 GB, free: 33.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3674, allocations: 10.3 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3675, allocations: 0 / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3675, allocations: 1.906 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3676, allocations: 32.5 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3676, allocations: 0.5625 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.3677, allocations: 5.156 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3677, allocations: 9.016 kB / 0.5637 GB, free: 33.78 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.3678, allocations: 114.7 kB / 0.5638 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.3678, allocations: 9.719 kB / 0.5638 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.3679, allocations: 7.969 kB / 0.5638 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3679, allocations: 2.906 kB / 0.5638 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3679, allocations: 1.156 kB / 0.5638 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3679, allocations: 2.156 kB / 0.5638 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.368, allocations: 179.6 kB / 0.564 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.368, allocations: 1.125 kB / 0.564 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.3681, allocations: 23.34 kB / 0.564 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3682, allocations: 5.516 kB / 0.564 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3682, allocations: 10.98 kB / 0.564 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3682, allocations: 6.844 kB / 0.5641 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3682, allocations: 0 / 0.5641 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3685, allocations: 138 kB / 0.5642 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.3686, allocations: 83.42 kB / 0.5643 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3686, allocations: 12.78 kB / 0.5643 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.3686, allocations: 4.812 kB / 0.5643 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.3687, allocations: 13.77 kB / 0.5643 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3687, allocations: 4.516 kB / 0.5643 GB, free: 33.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.159e-05/0.3687, allocations: 76.38 kB / 0.5644 GB, free: 33.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3688, allocations: 0 / 0.5644 GB, free: 33.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.369, allocations: 21.7 kB / 0.5644 GB, free: 33.16 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.3692, allocations: 124.6 kB / 0.5645 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3695, allocations: 85.44 kB / 0.5646 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3695, allocations: 1.812 kB / 0.5646 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3697, allocations: 51.59 kB / 0.5646 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.3698, allocations: 6.891 kB / 0.5646 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3702, allocations: 189.7 kB / 0.5648 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3703, allocations: 0.685 MB / 0.5655 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.3704, allocations: 27.7 kB / 0.5655 GB, free: 32.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3704, allocations: 1.312 kB / 0.5655 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Templates: time 0.003228/0.3736, allocations: 1.308 MB / 0.5668 GB, free: 32.12 MB / 446.1 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)