Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001185/0.001185, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 300.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8885/0.8885, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 103.8 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3648, allocations: 86.98 MB / 0.7671 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002359/0.3672, allocations: 1.521 MB / 0.7685 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.3676, allocations: 188.2 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.3677, allocations: 0 / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3677, allocations: 0 / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.3678, allocations: 7.922 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.368, allocations: 47.89 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.3681, allocations: 43.84 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.3682, allocations: 11.98 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.3682, allocations: 23.92 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.3683, allocations: 15.92 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3683, allocations: 4 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3684, allocations: 47.95 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.3684, allocations: 7.984 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.3685, allocations: 11.94 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3686, allocations: 75.38 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3686, allocations: 4 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3686, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.3686, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5294 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.0004153/0.369, allocations: 355.5 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3691, allocations: 8.031 kB / 0.7694 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.3691, allocations: 0.9375 kB / 0.7694 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3692, allocations: 178.8 kB / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3692, allocations: 384 / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3693, allocations: 4.375 kB / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3694, allocations: 66.2 kB / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3694, allocations: 192 / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3695, allocations: 7.875 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3695, allocations: 8 kB / 0.7696 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3697, allocations: 43.95 kB / 0.7697 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.37, allocations: 276.7 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3703, allocations: 58.48 kB / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.3704, allocations: 36.83 kB / 0.77 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.3706, allocations: 166.2 kB / 0.7702 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3706, allocations: 30.56 kB / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3706, allocations: 0 / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003643/0.371, allocations: 97.81 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.371, allocations: 51.41 kB / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.3711, allocations: 109.8 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3711, allocations: 25.7 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.3712, allocations: 84.14 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3712, allocations: 17.55 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.3712, allocations: 21.66 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.3713, allocations: 314.8 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.3714, allocations: 23.98 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.3715, allocations: 23.95 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3717, allocations: 48.77 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3717, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002021/0.3719, allocations: 77.55 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3719, allocations: 8 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.3719, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3719, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.372, allocations: 19.92 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.372, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.3721, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3721, allocations: 7.984 kB / 0.7711 GB, free: 15.45 MB / 0.545 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.3722, allocations: 109.8 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.3722, allocations: 8 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.3724, allocations: 81.55 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3725, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3725, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3725, allocations: 85.02 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3725, allocations: 0 / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.3726, allocations: 7.984 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3727, allocations: 15.92 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002716/0.3729, allocations: 160.9 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002558/0.3732, allocations: 242.7 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.914e-05/0.3733, allocations: 23.97 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.3734, allocations: 95.58 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of Backend: time 1.953e-06/0.3734, allocations: 0 / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3738, allocations: 124.6 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003745/0.3742, allocations: 0.5688 MB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002995/0.3772, allocations: 1.1 MB / 0.7736 GB, free: 12.74 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)