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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.0009396/0.0009396, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.232/1.232, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 290.2 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.8919/0.8919, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 99.86 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3579, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001582/0.3595, allocations: 0.5863 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.3598, allocations: 99.66 kB / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.3599, allocations: 0 / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3599, allocations: 7.938 kB / 0.7678 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.3599, allocations: 0 / 0.7678 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3603, allocations: 31.89 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3604, allocations: 67.94 kB / 0.7679 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.3604, allocations: 3.984 kB / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.3605, allocations: 23.97 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.3605, allocations: 23.97 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3605, allocations: 3.938 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3607, allocations: 55.95 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.3607, allocations: 19.97 kB / 0.768 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3608, allocations: 19.92 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.3609, allocations: 75.81 kB / 0.7681 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3609, allocations: 0 / 0.7681 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3609, allocations: 0 / 0.7681 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3609, allocations: 3.938 kB / 0.7681 GB, free: 2.898 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005017/0.3614, allocations: 367.2 kB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3615, allocations: 15.97 kB / 0.7685 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.3615, allocations: 12.84 kB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.3616, allocations: 164.4 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.3619, allocations: 281.6 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3619, allocations: 384 / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3621, allocations: 82.19 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3622, allocations: 3.938 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3622, allocations: 4 kB / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3622, allocations: 0 / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.3625, allocations: 135.8 kB / 0.7691 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3627, allocations: 173.7 kB / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.363, allocations: 98.52 kB / 0.7694 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3631, allocations: 44.81 kB / 0.7694 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3632, allocations: 336 / 0.7694 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3632, allocations: 46.5 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.3632, allocations: 0 / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005236/0.3637, allocations: 149.4 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.3638, allocations: 59.41 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.912e-05/0.3638, allocations: 89.86 kB / 0.7697 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3638, allocations: 25.7 kB / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.3639, allocations: 84.14 kB / 0.7698 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3639, allocations: 38.06 kB / 0.7699 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.364, allocations: 25.7 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3641, allocations: 322.8 kB / 0.7702 GB, free: 460 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3642, allocations: 35.91 kB / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3644, allocations: 35.97 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.3646, allocations: 73.41 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3646, allocations: 4 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003368/0.365, allocations: 113.5 kB / 0.7705 GB, free: 188 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.365, allocations: 11.94 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.365, allocations: 3.938 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.365, allocations: 0 / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3652, allocations: 19.98 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3652, allocations: 7.984 kB / 0.7705 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.3653, allocations: 8 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.3653, allocations: 4 kB / 0.7705 GB, free: 132 kB / 0.5294 GB 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 9.635e-05/0.3654, allocations: 124.2 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3654, allocations: 8.078 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.3655, allocations: 11.91 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3655, allocations: 0 / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3655, allocations: 0 / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.3655, allocations: 81.05 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3655, allocations: 12 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.3656, allocations: 7.984 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3657, allocations: 7.984 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000412/0.3661, allocations: 200.8 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000394/0.3665, allocations: 298.5 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001569/0.3667, allocations: 39.97 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.3667, allocations: 79.28 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/0.3667, allocations: 0 / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.3673, allocations: 156.5 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003624/0.3676, allocations: 0.5645 MB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Templates: time 0.003547/0.3712, allocations: 1.39 MB / 0.7734 GB, free: 13.07 MB / 0.545 GB 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)