Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8224/0.8224, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 188.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 99.02 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 279.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 91.86 kB / 0.6886 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001691/0.347, allocations: 0.6484 MB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005477/0.3476, allocations: 117 kB / 0.7687 GB, free: 26.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.3477, allocations: 0 / 0.7687 GB, free: 26.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.3477, allocations: 3.938 kB / 0.7687 GB, free: 26.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/0.3477, allocations: 0 / 0.7687 GB, free: 26.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3481, allocations: 27.95 kB / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3482, allocations: 59.94 kB / 0.7688 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3483, allocations: 4 kB / 0.7688 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.3483, allocations: 23.98 kB / 0.7688 GB, free: 26.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.3484, allocations: 23.95 kB / 0.7688 GB, free: 26.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3484, allocations: 4 kB / 0.7688 GB, free: 26.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3486, allocations: 43.97 kB / 0.7689 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.3486, allocations: 27.89 kB / 0.7689 GB, free: 26.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.3487, allocations: 19.92 kB / 0.7689 GB, free: 26.68 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.3489, allocations: 63.84 kB / 0.769 GB, free: 26.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3489, allocations: 0 / 0.769 GB, free: 26.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3489, allocations: 0 / 0.769 GB, free: 26.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3489, allocations: 0 / 0.769 GB, free: 26.62 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005303/0.3494, allocations: 378.2 kB / 0.7693 GB, free: 26.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3495, allocations: 11.97 kB / 0.7693 GB, free: 26.19 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.3496, allocations: 12.84 kB / 0.7694 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.3497, allocations: 160.4 kB / 0.7695 GB, free: 25.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.3499, allocations: 281.6 kB / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.35, allocations: 8.375 kB / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.3503, allocations: 78.14 kB / 0.7699 GB, free: 25.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3503, allocations: 7.922 kB / 0.7699 GB, free: 25.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3503, allocations: 4 kB / 0.7699 GB, free: 25.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3503, allocations: 4 kB / 0.7699 GB, free: 25.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.3506, allocations: 139.7 kB / 0.77 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3508, allocations: 181.6 kB / 0.7702 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.351, allocations: 90.52 kB / 0.7703 GB, free: 25.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3512, allocations: 44.84 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3512, allocations: 0 / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.3513, allocations: 38.55 kB / 0.7703 GB, free: 24.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.3513, allocations: 0 / 0.7703 GB, free: 24.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004887/0.3518, allocations: 153.7 kB / 0.7705 GB, free: 24.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.3518, allocations: 55.39 kB / 0.7705 GB, free: 24.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.383e-05/0.3518, allocations: 93.86 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.3518, allocations: 29.7 kB / 0.7707 GB, free: 24.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.3518, allocations: 80.14 kB / 0.7707 GB, free: 24.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.3519, allocations: 27.56 kB / 0.7708 GB, free: 24.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3519, allocations: 37.69 kB / 0.7708 GB, free: 24.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.352, allocations: 314.8 kB / 0.7711 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3521, allocations: 35.97 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3523, allocations: 27.98 kB / 0.7712 GB, free: 24.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3525, allocations: 76.75 kB / 0.7712 GB, free: 24.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3525, allocations: 0 / 0.7712 GB, free: 24.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002878/0.3528, allocations: 122.1 kB / 0.7713 GB, free: 23.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3528, allocations: 7.938 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3529, allocations: 4 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3529, allocations: 4 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.353, allocations: 19.98 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3531, allocations: 0 / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.3531, allocations: 7.984 kB / 0.7714 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3531, allocations: 4 kB / 0.7714 GB, free: 23.84 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: 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 5.711e-05/0.3532, allocations: 122.3 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.3532, allocations: 7.844 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.3533, allocations: 19.97 kB / 0.7715 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3533, allocations: 0 / 0.7715 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3533, allocations: 3.938 kB / 0.7715 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3533, allocations: 0 / 0.7715 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.689e-05/0.3534, allocations: 181.6 kB / 0.7717 GB, free: 23.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3534, allocations: 4 kB / 0.7717 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3535, allocations: 23.97 kB / 0.7717 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3535, allocations: 3.938 kB / 0.7717 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3535, allocations: 8 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3535, allocations: 0 / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3535, allocations: 4 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.3541, allocations: 0.7216 MB / 0.7725 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.3541, allocations: 81.02 kB / 0.7725 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3541, allocations: 11.94 kB / 0.7725 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.3542, allocations: 4 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3543, allocations: 11.97 kB / 0.7726 GB, free: 22.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3543, allocations: 12 kB / 0.7726 GB, free: 22.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.25e-05/0.3543, allocations: 75.28 kB / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 0 / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.3546, allocations: 20 kB / 0.7727 GB, free: 22.4 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: 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.0001821/0.3548, allocations: 119.2 kB / 0.7728 GB, free: 22.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3551, allocations: 83.88 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3551, allocations: 0 / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3553, allocations: 59.84 kB / 0.7729 GB, free: 22.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.3555, allocations: 7.984 kB / 0.7729 GB, free: 22.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.3559, allocations: 297.6 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.356, allocations: 0.6887 MB / 0.7739 GB, free: 21.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3562, allocations: 39.94 kB / 0.7739 GB, free: 21.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.3562, allocations: 19.42 kB / 0.7739 GB, free: 21.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3562, allocations: 0 / 0.7739 GB, free: 21.02 MB / 458.7 MB Notification: Performance of Templates: time 0.002617/0.3588, allocations: 0.9979 MB / 0.7749 GB, free: 20.03 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)