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.696/1.696, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.001536/0.001536, allocations: 183 kB / 372 MB, free: 10.19 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.867/1.867, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.001046/0.001046, allocations: 102.2 kB / 0.7441 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004068, allocations: 12.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001712/0.2384, allocations: 1.236 MB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.2389, allocations: 160.4 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.2389, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.2389, allocations: 3.984 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.239, allocations: 11.92 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.2393, allocations: 31.97 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.2394, allocations: 27.92 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2395, allocations: 19.97 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.2395, allocations: 7.938 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.2396, allocations: 19.92 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2396, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2397, allocations: 43.95 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2398, allocations: 7.984 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.2398, allocations: 25.7 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2399, allocations: 47.8 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2399, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2399, allocations: 7.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.24, allocations: 0 / 0.9812 GB, free: 25.95 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.0005118/0.2405, allocations: 355.5 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2405, allocations: 16 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2406, allocations: 4 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2407, allocations: 166.9 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.2407, allocations: 8 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2407, allocations: 0 / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2409, allocations: 74.53 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.241, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.241, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.241, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2412, allocations: 59.89 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2416, allocations: 276.8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2419, allocations: 62.53 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.242, allocations: 32.91 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.2422, allocations: 174.1 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.2422, allocations: 34.56 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2422, allocations: 0 / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003846/0.2426, allocations: 113.5 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2426, allocations: 55.34 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.2427, allocations: 109.8 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2427, allocations: 25.7 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.2427, allocations: 96.19 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.2428, allocations: 7.906 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.2428, allocations: 0 / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.2428, allocations: 314.8 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.2429, allocations: 27.97 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.243, allocations: 27.92 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.2431, allocations: 23.98 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2431, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.2433, allocations: 89.64 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2433, allocations: 8 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2434, allocations: 0 / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2434, allocations: 0 / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.2435, allocations: 11.98 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2435, allocations: 4 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.2435, allocations: 7.906 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2436, allocations: 7.938 kB / 0.9833 GB, free: 23.55 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.724e-05/0.2436, allocations: 117.8 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.2436, allocations: 336 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.2439, allocations: 101.5 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2439, allocations: 7.938 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2439, allocations: 4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2439, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2441, allocations: 169.6 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2441, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.2441, allocations: 11.98 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2441, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2442, allocations: 4 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2442, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2442, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2444, allocations: 195.3 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.2444, allocations: 81.11 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2445, allocations: 3.938 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2445, allocations: 11.98 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2446, allocations: 7.984 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2446, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.546e-05/0.2446, allocations: 87.28 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2446, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002106/0.2449, allocations: 15.94 kB / 0.9841 GB, free: 22.65 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.0001528/0.245, allocations: 119.2 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2453, allocations: 55.95 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2453, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.2454, allocations: 35.91 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2456, allocations: 11.95 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.2459, allocations: 126.3 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.246, allocations: 0.677 MB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.2461, allocations: 11.98 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.2461, allocations: 11.44 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2461, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.002801/0.2489, allocations: 0.8587 MB / 0.9859 GB, free: 20.69 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)