Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 189.9 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205 MB / 0.6353 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 98.53 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001963/0.2292, allocations: 0.6604 MB / 0.9829 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.2296, allocations: 107.6 kB / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/0.2296, allocations: 0 / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.2297, allocations: 4 kB / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.2297, allocations: 0 / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.2299, allocations: 27.97 kB / 0.983 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2301, allocations: 63.92 kB / 0.9831 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.2301, allocations: 11.94 kB / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.2301, allocations: 19.98 kB / 0.9831 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.2302, allocations: 23.95 kB / 0.9831 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2302, allocations: 4 kB / 0.9831 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2303, allocations: 39.97 kB / 0.9831 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.2304, allocations: 27.95 kB / 0.9832 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.2304, allocations: 19.92 kB / 0.9832 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.2306, allocations: 79.77 kB / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2306, allocations: 0 / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2306, allocations: 0 / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2306, allocations: 3.938 kB / 0.9833 GB, free: 9.273 MB / 0.7136 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.0004626/0.2311, allocations: 367.8 kB / 0.9836 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2311, allocations: 12.03 kB / 0.9836 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.2311, allocations: 12.88 kB / 0.9836 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.2312, allocations: 168.3 kB / 0.9838 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.2315, allocations: 277.6 kB / 0.9841 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2315, allocations: 12.38 kB / 0.9841 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2317, allocations: 74.19 kB / 0.9842 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2318, allocations: 11.92 kB / 0.9842 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2318, allocations: 4 kB / 0.9842 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2318, allocations: 0 / 0.9842 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.2321, allocations: 131.8 kB / 0.9843 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.2323, allocations: 185.5 kB / 0.9845 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2326, allocations: 102.5 kB / 0.9846 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2328, allocations: 40.83 kB / 0.9846 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2328, allocations: 0 / 0.9846 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2328, allocations: 34.56 kB / 0.9846 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.2328, allocations: 0 / 0.9846 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004989/0.2333, allocations: 153.8 kB / 0.9848 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2334, allocations: 55.41 kB / 0.9848 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.481e-05/0.2334, allocations: 89.86 kB / 0.9849 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2334, allocations: 29.7 kB / 0.985 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.2335, allocations: 80.14 kB / 0.985 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.2335, allocations: 35.45 kB / 0.9851 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.2336, allocations: 29.7 kB / 0.9851 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.2337, allocations: 314.8 kB / 0.9854 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2338, allocations: 31.97 kB / 0.9854 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.234, allocations: 31.97 kB / 0.9855 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.2342, allocations: 85.41 kB / 0.9855 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2342, allocations: 3.938 kB / 0.9855 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/0.2345, allocations: 109.6 kB / 0.9856 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2346, allocations: 11.94 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2346, allocations: 0 / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2346, allocations: 0 / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2347, allocations: 23.97 kB / 0.9857 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2348, allocations: 0 / 0.9857 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.2348, allocations: 11.84 kB / 0.9857 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2348, allocations: 8 kB / 0.9857 GB, free: 6.5 MB / 0.7136 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.871e-05/0.2349, allocations: 129.8 kB / 0.9858 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.235, allocations: 7.938 kB / 0.9858 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.235, allocations: 7.969 kB / 0.9858 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.235, allocations: 0 / 0.9858 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.235, allocations: 3.938 kB / 0.9858 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.235, allocations: 4 kB / 0.9858 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2352, allocations: 177.6 kB / 0.986 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2352, allocations: 0 / 0.986 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2353, allocations: 27.97 kB / 0.986 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2353, allocations: 7.938 kB / 0.9861 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2353, allocations: 4 kB / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2353, allocations: 0 / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2353, allocations: 3.984 kB / 0.9861 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.236, allocations: 0.7253 MB / 0.9868 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.2361, allocations: 85.05 kB / 0.9868 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2361, allocations: 4 kB / 0.9869 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.2361, allocations: 4 kB / 0.9869 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2362, allocations: 15.97 kB / 0.9869 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2362, allocations: 4 kB / 0.9869 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.2363, allocations: 79.22 kB / 0.9869 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2363, allocations: 0 / 0.9869 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003108/0.2366, allocations: 20 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001929/0.2368, allocations: 127.2 kB / 0.9871 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.2371, allocations: 87.88 kB / 0.9872 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2371, allocations: 0 / 0.9872 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2373, allocations: 47.89 kB / 0.9872 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.2374, allocations: 10.19 kB / 0.9872 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.2379, allocations: 305.4 kB / 0.9875 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2381, allocations: 0.6887 MB / 0.9882 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.2383, allocations: 39.95 kB / 0.9882 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2383, allocations: 11.44 kB / 0.9882 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.2383, allocations: 0 / 0.9882 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of Templates: time 0.002794/0.2411, allocations: 1.01 MB / 0.9892 GB, free: 2.676 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)