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.001178/0.001178, allocations: 112 kB / 16.42 MB, free: 6.512 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.001226/0.001226, allocations: 183.9 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 281 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8705/0.8705, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3508, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.00247/0.3533, allocations: 1.521 MB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.3537, allocations: 180.3 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.3537, allocations: 0 / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.3538, allocations: 7.938 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.3538, allocations: 7.922 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3541, allocations: 47.89 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.3542, allocations: 43.84 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.3543, allocations: 11.98 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.3543, allocations: 19.92 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.3544, allocations: 15.92 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3544, allocations: 4 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3545, allocations: 55.94 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3545, allocations: 4 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3546, allocations: 15.94 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3547, allocations: 71.38 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3547, allocations: 0 / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.377e-06/0.3547, allocations: 4 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3547, allocations: 0 / 0.769 GB, free: 1.895 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.0004283/0.3552, allocations: 351.5 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3552, allocations: 16.03 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3553, allocations: 0.9375 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.3554, allocations: 174.8 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3554, allocations: 384 / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3554, allocations: 4.375 kB / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3556, allocations: 66.2 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.3556, allocations: 192 / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3556, allocations: 3.938 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3556, allocations: 0 / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3558, allocations: 51.95 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3562, allocations: 284.7 kB / 0.7699 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3565, allocations: 54.55 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3566, allocations: 28.89 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.3568, allocations: 170.2 kB / 0.7702 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3568, allocations: 34.56 kB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3568, allocations: 3.938 kB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003604/0.3572, allocations: 93.56 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.3572, allocations: 51.41 kB / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.3573, allocations: 117.8 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3573, allocations: 25.7 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.3574, allocations: 80.14 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3574, allocations: 17.61 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3574, allocations: 13.7 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3575, allocations: 318.8 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.3576, allocations: 11.98 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.3577, allocations: 27.97 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3579, allocations: 52.75 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3579, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002118/0.3581, allocations: 81.5 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3582, allocations: 6.656 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3582, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3582, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.3583, allocations: 11.98 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3583, allocations: 0 / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.3583, allocations: 8.312 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3584, allocations: 0 / 0.7711 GB, free: 15.52 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.677e-05/0.3584, allocations: 120.2 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3585, allocations: 11.92 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3587, allocations: 85.48 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3587, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3587, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.3588, allocations: 85.02 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3588, allocations: 3.984 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3589, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3589, allocations: 11.92 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000277/0.3592, allocations: 160.9 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002622/0.3595, allocations: 246.7 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.299e-05/0.3596, allocations: 19.98 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.3596, allocations: 91.27 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of Backend: time 2.1e-07/0.3596, allocations: 7.938 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.3601, allocations: 118.4 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003864/0.3605, allocations: 0.5726 MB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.002991/0.3635, allocations: 1.083 MB / 0.7736 GB, free: 12.81 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)