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.001174/0.001174, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001045/0.001046, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.765/1.765, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0004932/0.0004933, allocations: 14.47 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006168/0.2399, allocations: 321.8 kB / 0.7874 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.2402, allocations: 97.38 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.2402, allocations: 0 / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.381e-05/0.2403, allocations: 0 / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.2403, allocations: 4 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.2405, allocations: 31.89 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.2406, allocations: 43.95 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.2407, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2407, allocations: 27.97 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.2408, allocations: 27.91 kB / 0.7876 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2408, allocations: 0 / 0.7876 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2409, allocations: 39.95 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.241, allocations: 19.97 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.241, allocations: 29.7 kB / 0.7877 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.683e-05/0.2411, allocations: 47.92 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.2411, allocations: 0 / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2411, allocations: 0 / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.2411, allocations: 0 / 0.7878 GB, free: 11.27 MB / 0.6075 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.0004168/0.2415, allocations: 362.4 kB / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2416, allocations: 8.031 kB / 0.7881 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.2416, allocations: 11.91 kB / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.2417, allocations: 170.9 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.242, allocations: 284.9 kB / 0.7886 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.242, allocations: 4 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.2422, allocations: 73.64 kB / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2423, allocations: 0 / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2423, allocations: 4 kB / 0.7887 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2423, allocations: 4 kB / 0.7887 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.2426, allocations: 139.8 kB / 0.7888 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.2428, allocations: 173.6 kB / 0.789 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.2431, allocations: 98.45 kB / 0.7891 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2432, allocations: 0 / 0.7891 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2432, allocations: 34.89 kB / 0.7891 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.374e-06/0.2432, allocations: 0 / 0.7891 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004967/0.2437, allocations: 157.7 kB / 0.7892 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2437, allocations: 51.41 kB / 0.7893 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.075e-05/0.2438, allocations: 89.86 kB / 0.7894 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2438, allocations: 29.7 kB / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.2438, allocations: 80.33 kB / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.2439, allocations: 35.53 kB / 0.7895 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.2439, allocations: 4 kB / 0.7895 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.244, allocations: 310.8 kB / 0.7898 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2441, allocations: 39.97 kB / 0.7898 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2443, allocations: 35.97 kB / 0.7899 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2444, allocations: 35.97 kB / 0.7899 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2444, allocations: 0 / 0.7899 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003128/0.2447, allocations: 113.5 kB / 0.79 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2448, allocations: 8 kB / 0.79 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2448, allocations: 0 / 0.79 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2448, allocations: 0 / 0.79 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2449, allocations: 27.91 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.245, allocations: 0 / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.245, allocations: 11.94 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.245, allocations: 7.984 kB / 0.7901 GB, free: 8.641 MB / 0.6075 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.635e-05/0.2451, allocations: 117.8 kB / 0.7902 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.2452, allocations: 11.86 kB / 0.7902 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.2452, allocations: 11.97 kB / 0.7902 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2452, allocations: 0 / 0.7902 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2452, allocations: 0 / 0.7902 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2452, allocations: 3.984 kB / 0.7902 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2454, allocations: 177.7 kB / 0.7904 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2454, allocations: 3.938 kB / 0.7904 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2455, allocations: 23.92 kB / 0.7904 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2455, allocations: 7.953 kB / 0.7904 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2455, allocations: 7.984 kB / 0.7904 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2455, allocations: 0 / 0.7904 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2455, allocations: 0 / 0.7904 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2459, allocations: 133 kB / 0.7906 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.2459, allocations: 105 kB / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2459, allocations: 7.953 kB / 0.7907 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.246, allocations: 4 kB / 0.7907 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2461, allocations: 11.97 kB / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2461, allocations: 8 kB / 0.7907 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.264e-05/0.2461, allocations: 75.28 kB / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2461, allocations: 0 / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002134/0.2463, allocations: 16 kB / 0.7908 GB, free: 7.828 MB / 0.6075 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 (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.00018/0.2465, allocations: 131.2 kB / 0.7909 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.2468, allocations: 75.94 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2468, allocations: 0 / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.247, allocations: 59.83 kB / 0.791 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.579e-05/0.2471, allocations: 0 / 0.791 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.2474, allocations: 163.6 kB / 0.7912 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.2477, allocations: 0.6887 MB / 0.7919 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.2478, allocations: 39.95 kB / 0.7919 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.2479, allocations: 19.42 kB / 0.7919 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2479, allocations: 0 / 0.7919 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.002962/0.2508, allocations: 0.936 MB / 0.7928 GB, free: 5.668 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: