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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001206, allocations: 107.5 kB / 16.36 MB, free: 5.996 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.001221/0.001221, allocations: 193.6 kB / 17.3 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 78.86 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2209, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001704/0.2226, allocations: 0.5865 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003368/0.223, allocations: 103.6 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.223, allocations: 0 / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.2231, allocations: 4 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.2231, allocations: 0 / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.2234, allocations: 43.88 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2235, allocations: 59.94 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.2236, allocations: 0 / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.2236, allocations: 31.97 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.2236, allocations: 23.97 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2237, allocations: 7.938 kB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2238, allocations: 43.94 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.2238, allocations: 23.92 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.2239, allocations: 19.92 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.224, allocations: 75.81 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.224, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.224, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.224, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 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.000461/0.2245, allocations: 375.5 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2246, allocations: 11.97 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.2246, allocations: 8.844 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.2247, allocations: 172.3 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.2249, allocations: 277.6 kB / 0.7866 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.225, allocations: 8.375 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.2252, allocations: 82.12 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2252, allocations: 3.938 kB / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2252, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2252, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.2256, allocations: 139.8 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.2258, allocations: 177.6 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2261, allocations: 90.47 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2262, allocations: 48.83 kB / 0.7871 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2262, allocations: 4.312 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2263, allocations: 34.5 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2263, allocations: 4 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0005363/0.2268, allocations: 149.5 kB / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2269, allocations: 55.34 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.382e-05/0.2269, allocations: 93.86 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2269, allocations: 25.7 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.2269, allocations: 80.14 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.227, allocations: 35.55 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3475/0.5745, allocations: 25.11 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.5746, allocations: 316.4 kB / 0.7879 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5748, allocations: 33.7 kB / 0.7879 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.5749, allocations: 32.27 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.5752, allocations: 79.83 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5752, allocations: 0 / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003102/0.5755, allocations: 116.7 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5756, allocations: 6.875 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5756, allocations: 1.547 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5756, allocations: 3.234 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5757, allocations: 22.66 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5758, allocations: 6.656 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.5758, allocations: 8.531 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5758, allocations: 4.062 kB / 0.7882 GB, free: 48.36 MB / 0.6544 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 6.19e-05/0.5759, allocations: 119.3 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.5759, allocations: 8.25 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.576, allocations: 12.62 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.576, allocations: 2.75 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.576, allocations: 4.531 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.576, allocations: 3.141 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.5761, allocations: 174.1 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5761, allocations: 0 / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.5762, allocations: 29.02 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5762, allocations: 2.156 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5762, allocations: 12.44 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5763, allocations: 3.172 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5763, allocations: 3.938 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.5766, allocations: 138.9 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.5766, allocations: 80.16 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5766, allocations: 5.094 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.5767, allocations: 8.75 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.5767, allocations: 15.36 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.5767, allocations: 6.594 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.089e-05/0.5767, allocations: 75.28 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5768, allocations: 0 / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000226/0.577, allocations: 27.89 kB / 0.7889 GB, free: 47.82 MB / 0.6544 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.0001552/0.5771, allocations: 123.7 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.5775, allocations: 84.25 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5775, allocations: 2.844 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.5776, allocations: 47.92 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.5778, allocations: 9.719 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.5781, allocations: 152.8 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.425e-05/0.5782, allocations: 0.6858 MB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.5783, allocations: 43.28 kB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.5784, allocations: 19.73 kB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.5784, allocations: 0 / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002883/0.5813, allocations: 1.01 MB / 0.791 GB, free: 46.91 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)