Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 174 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007813/0.0007815, allocations: 85.94 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 9.281 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2415, allocations: 106.3 MB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001714/0.2433, allocations: 1.26 MB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004688/0.2438, allocations: 180.3 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.2438, allocations: 0 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.2438, allocations: 0 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.2439, allocations: 11.91 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.2442, allocations: 35.97 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.2443, allocations: 39.91 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2444, allocations: 8 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.2444, allocations: 11.92 kB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.2445, allocations: 19.92 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2445, allocations: 4 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.2446, allocations: 43.95 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.2446, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.2447, allocations: 45.56 kB / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2448, allocations: 39.92 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2448, allocations: 0 / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2448, allocations: 3.938 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.2448, allocations: 0 / 0.9031 GB, free: 61.61 MB / 0.6042 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.0004771/0.2453, allocations: 359.7 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2454, allocations: 8.031 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.2454, allocations: 8.844 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.2455, allocations: 168.3 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2455, allocations: 8.375 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.2456, allocations: 384 / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2458, allocations: 74.22 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2458, allocations: 192 / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2458, allocations: 7.875 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2458, allocations: 0 / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.246, allocations: 59.89 kB / 0.9038 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.2464, allocations: 280.7 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.2467, allocations: 62.53 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.2468, allocations: 32.91 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.247, allocations: 170.2 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2471, allocations: 42.48 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2471, allocations: 0 / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004275/0.2475, allocations: 109.6 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2475, allocations: 51.41 kB / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.2476, allocations: 105.8 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.2476, allocations: 25.7 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.2477, allocations: 100 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2477, allocations: 7.844 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.2477, allocations: 0 / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.2478, allocations: 322.8 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.2479, allocations: 15.98 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.248, allocations: 35.91 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2481, allocations: 56.81 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2481, allocations: 0 / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000201/0.2484, allocations: 89.66 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2484, allocations: 4 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2484, allocations: 0 / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2484, allocations: 0 / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.2485, allocations: 15.98 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2485, allocations: 0 / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.2486, allocations: 11.98 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-06/0.2486, allocations: 4 kB / 0.9052 GB, free: 59.16 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.2487, allocations: 117.7 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.2487, allocations: 7.906 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.249, allocations: 93.55 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.249, allocations: 0 / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.249, allocations: 0 / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.249, allocations: 3.938 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2491, allocations: 173.6 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2491, allocations: 0 / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.2492, allocations: 19.92 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2492, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.2492, allocations: 4 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2492, allocations: 3.984 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2492, allocations: 0 / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2495, allocations: 183.4 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.2495, allocations: 85.44 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2495, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.2496, allocations: 15.98 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.2497, allocations: 3.984 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2497, allocations: 4 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.2497, allocations: 87.58 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 0 / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002232/0.2499, allocations: 19.98 kB / 0.906 GB, free: 58.25 MB / 0.6042 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 (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.0001675/0.2501, allocations: 127.3 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2504, allocations: 51.89 kB / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2504, allocations: 0 / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.2505, allocations: 31.98 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2507, allocations: 11.92 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.251, allocations: 158.2 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2512, allocations: 0.6848 MB / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.2512, allocations: 15.44 kB / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2512, allocations: 0 / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.002229/0.2535, allocations: 0.9562 MB / 0.908 GB, free: 56.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)