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.001192/0.001192, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001167/0.001167, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.22/1.22, allocations: 222.9 MB / 241 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.002021/0.002021, allocations: 292.5 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.8761/0.8761, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 99.86 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3735, 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.001525/0.3751, allocations: 0.5824 MB / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.3755, allocations: 107.6 kB / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.3755, allocations: 0 / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3755, allocations: 0 / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.3755, allocations: 0 / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.3758, allocations: 35.89 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.376, allocations: 59.94 kB / 0.7679 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.376, allocations: 4 kB / 0.7679 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.376, allocations: 19.98 kB / 0.7679 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.3761, allocations: 27.95 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3761, allocations: 7.938 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3762, allocations: 55.95 kB / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.3763, allocations: 23.95 kB / 0.768 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.3763, allocations: 15.92 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3764, allocations: 71.83 kB / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3764, allocations: 0 / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3764, allocations: 0 / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3765, allocations: 0 / 0.7681 GB, free: 2.91 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.0004583/0.3769, allocations: 371.2 kB / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.377, allocations: 11.97 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.377, allocations: 16.84 kB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.3771, allocations: 164.3 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.3773, allocations: 281.6 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.3773, allocations: 8.375 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3776, allocations: 74.2 kB / 0.769 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3776, allocations: 7.875 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3776, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3776, allocations: 4 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.378, allocations: 135.8 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3782, allocations: 177.7 kB / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3784, allocations: 94.45 kB / 0.7694 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3786, allocations: 48.84 kB / 0.7694 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3786, allocations: 336 / 0.7694 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3786, allocations: 38.5 kB / 0.7694 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.3786, allocations: 0 / 0.7694 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000506/0.3792, allocations: 157.4 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.3792, allocations: 55.41 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.3792, allocations: 93.84 kB / 0.7697 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3793, allocations: 29.7 kB / 0.7698 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.3793, allocations: 80.14 kB / 0.7698 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3793, allocations: 30.09 kB / 0.7699 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.3794, allocations: 29.7 kB / 0.7699 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.3795, allocations: 314.8 kB / 0.7702 GB, free: 472 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3796, allocations: 43.91 kB / 0.7702 GB, free: 428 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3798, allocations: 28.42 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.38, allocations: 76.97 kB / 0.7703 GB, free: 320 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.38, allocations: 0 / 0.7703 GB, free: 320 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003357/0.3804, allocations: 121.5 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3804, allocations: 7.938 kB / 0.7705 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3804, allocations: 3.938 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3804, allocations: 4 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3806, allocations: 19.98 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3806, allocations: 4 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.3806, allocations: 7.984 kB / 0.7705 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3807, allocations: 4 kB / 0.7705 GB, free: 140 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 7.888e-05/0.3807, allocations: 116.2 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.3808, allocations: 7.891 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.3808, allocations: 19.95 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3808, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3808, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.3809, allocations: 84.98 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3809, allocations: 4 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.381, allocations: 8 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.381, allocations: 15.92 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004109/0.3814, allocations: 208.8 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003882/0.3818, allocations: 286.6 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.382, allocations: 51.91 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.382, allocations: 75.28 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.382, allocations: 0 / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.3826, allocations: 145.4 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003365/0.3829, allocations: 0.5723 MB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Templates: time 0.003368/0.3863, allocations: 1.397 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)