Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 303.7 MB, free: 8.133 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.000992/0.0009921, allocations: 187.5 kB / 372.3 MB, free: 10.12 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.427/1.427, allocations: 205.4 MB / 0.631 GB, free: 9.809 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007429/0.0007429, allocations: 97.39 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 16.75 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2071, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001398/0.2085, allocations: 1.24 MB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003772/0.2089, allocations: 165.3 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.2089, allocations: 0 / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.209, allocations: 0 / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.209, allocations: 3.938 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.2093, allocations: 39.95 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.2094, allocations: 27.92 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.2095, allocations: 19.92 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.2095, allocations: 11.98 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.2095, allocations: 15.92 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2095, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.2096, allocations: 47.95 kB / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.2097, allocations: 7.984 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.2097, allocations: 37.58 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.712e-05/0.2098, allocations: 43.84 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2098, allocations: 8 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2098, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2098, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 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.0003752/0.2102, allocations: 351.7 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2102, allocations: 8.031 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2103, allocations: 4.938 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/0.2104, allocations: 168.3 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2104, allocations: 12.36 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2104, allocations: 4.375 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2106, allocations: 66.23 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2106, allocations: 4.188 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2107, allocations: 3.938 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2107, allocations: 3.938 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2109, allocations: 63.89 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.2112, allocations: 280.7 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.2115, allocations: 58.55 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.2116, allocations: 32.89 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.2118, allocations: 174.1 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2118, allocations: 38.56 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.2118, allocations: 0 / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003686/0.2122, allocations: 105.6 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2122, allocations: 59.41 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.2123, allocations: 109.9 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.2123, allocations: 29.64 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2124, allocations: 92.12 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2124, allocations: 3.906 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.2124, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.2125, allocations: 322.8 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.2126, allocations: 27.92 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2127, allocations: 27.97 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2128, allocations: 56.83 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2128, allocations: 0 / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001838/0.213, allocations: 89.55 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2131, allocations: 8 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2131, allocations: 0 / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2131, allocations: 4 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.2132, allocations: 11.98 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2132, allocations: 4 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.2132, allocations: 4 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2132, allocations: 3.938 kB / 0.9839 GB, free: 23.22 MB / 0.6198 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.2133, allocations: 123.1 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2133, allocations: 4 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.2136, allocations: 93.88 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2136, allocations: 8.031 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2136, allocations: 0 / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2136, allocations: 0 / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2137, allocations: 173.6 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2137, allocations: 0 / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.2138, allocations: 11.98 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2138, allocations: 0 / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2138, allocations: 4 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2138, allocations: 0 / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2138, allocations: 3.938 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2141, allocations: 187.3 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.2141, allocations: 85.05 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2141, allocations: 0 / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.2142, allocations: 7.984 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2143, allocations: 19.92 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2143, allocations: 4 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.2143, allocations: 87.28 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2143, allocations: 0 / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002258/0.2145, allocations: 19.94 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001347/0.2147, allocations: 111.2 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.2149, allocations: 63.89 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2149, allocations: 0 / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.215, allocations: 31.97 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2153, allocations: 7.938 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.2155, allocations: 132.6 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2156, allocations: 0.677 MB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.2157, allocations: 4 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.2157, allocations: 15.42 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2157, allocations: 0 / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.002929/0.2186, allocations: 0.8657 MB / 0.9865 GB, free: 20.34 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)