Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.309, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 185.1 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.491/2.491, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 96.36 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005319, allocations: 18.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2059, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007357/0.2066, allocations: 326.4 kB / 0.8998 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.207, allocations: 104.9 kB / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.2071, allocations: 0 / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.2071, allocations: 0 / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.2071, allocations: 0 / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2074, allocations: 19.92 kB / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2075, allocations: 59.92 kB / 0.9 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.2076, allocations: 3.984 kB / 0.9 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.2076, allocations: 31.86 kB / 0.9 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.2077, allocations: 23.95 kB / 0.9001 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2077, allocations: 4 kB / 0.9001 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2079, allocations: 39.97 kB / 0.9001 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.2079, allocations: 31.91 kB / 0.9001 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.208, allocations: 29.7 kB / 0.9002 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.2081, allocations: 39.94 kB / 0.9002 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2081, allocations: 0 / 0.9002 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2081, allocations: 0 / 0.9002 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2081, allocations: 0 / 0.9002 GB, free: 64.84 MB / 0.6042 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.0005095/0.2086, allocations: 351.4 kB / 0.9005 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2087, allocations: 8.031 kB / 0.9005 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.2087, allocations: 8.938 kB / 0.9005 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.583e-05/0.2088, allocations: 172.4 kB / 0.9007 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.2091, allocations: 273.6 kB / 0.901 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.2091, allocations: 8.375 kB / 0.901 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.2095, allocations: 86.06 kB / 0.9011 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2095, allocations: 3.938 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2095, allocations: 4 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2095, allocations: 4 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.2101, allocations: 127.8 kB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.2103, allocations: 185.8 kB / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.2108, allocations: 98.45 kB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.2111, allocations: 40.83 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.2111, allocations: 7.984 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2112, allocations: 30.56 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.344e-06/0.2112, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0008458/0.212, allocations: 149.8 kB / 0.9017 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2121, allocations: 59.41 kB / 0.9017 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.316e-05/0.2121, allocations: 89.86 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2121, allocations: 25.7 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.344e-05/0.2121, allocations: 80.14 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.2122, allocations: 35.45 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.2122, allocations: 4 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.2123, allocations: 314.8 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2126, allocations: 35.91 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2128, allocations: 40.41 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.2131, allocations: 36.14 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2131, allocations: 0 / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005488/0.2136, allocations: 117.5 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2137, allocations: 4 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2137, allocations: 3.938 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2137, allocations: 0 / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.214, allocations: 27.97 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.214, allocations: 3.938 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2141, allocations: 7.906 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2141, allocations: 7.984 kB / 0.9025 GB, free: 62.16 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.2142, allocations: 117.8 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.2143, allocations: 0 / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.2143, allocations: 15.91 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2143, allocations: 3.984 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2143, allocations: 0 / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.2144, allocations: 88.95 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2144, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2145, allocations: 12 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2146, allocations: 11.97 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006596/0.2153, allocations: 212.8 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005767/0.2159, allocations: 282.6 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002517/0.2161, allocations: 43.97 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.549e-05/0.2162, allocations: 75.28 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Backend: time 8.01e-07/0.2162, allocations: 4 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.217, allocations: 142.3 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003414/0.2173, allocations: 0.5747 MB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.004426/0.2218, allocations: 1.271 MB / 0.9053 GB, free: 59.22 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)