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.274/1.274, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009056/0.0009056, allocations: 182.3 kB / 327.6 MB, free: 2.152 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.465/1.465, allocations: 205.4 MB / 0.5785 GB, free: 20.43 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.0007322/0.0007323, allocations: 91.08 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 15.19 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1774, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.3267, allocations: 132.4 MB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3269, allocations: 67.97 kB / 1.031 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003811/0.3308, allocations: 1.34 MB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3308, allocations: 0 / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3308, allocations: 0 / 1.032 GB, free: 10.11 MB / 0.6823 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.0003723/0.3312, allocations: 355.4 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3312, allocations: 12.03 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.3313, allocations: 12.78 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.3314, allocations: 172.3 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3314, allocations: 4.375 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3314, allocations: 4.375 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3316, allocations: 66.22 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3316, allocations: 192 / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3316, allocations: 3.938 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3316, allocations: 4 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3318, allocations: 55.95 kB / 1.033 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3322, allocations: 284.7 kB / 1.033 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3325, allocations: 62.55 kB / 1.033 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.3326, allocations: 32.89 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.3329, allocations: 405.5 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3329, allocations: 36.28 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.3329, allocations: 0 / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000372/0.3333, allocations: 117.6 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.3334, allocations: 55.34 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.3334, allocations: 105.8 kB / 1.034 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3335, allocations: 29.7 kB / 1.034 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.3335, allocations: 88.05 kB / 1.034 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3335, allocations: 15.94 kB / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.3336, allocations: 0 / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3337, allocations: 318.8 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3338, allocations: 27.97 kB / 1.034 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.3338, allocations: 23.98 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.334, allocations: 61.03 kB / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.334, allocations: 0 / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002019/0.3342, allocations: 89.55 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3343, allocations: 14.81 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3343, allocations: 3.984 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3343, allocations: 0 / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.3344, allocations: 8 kB / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3344, allocations: 3.984 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.3344, allocations: 8 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3344, allocations: 0 / 1.034 GB, free: 7.367 MB / 0.6823 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 (bin.y,bin.k) * 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 7.56e-05/0.3345, allocations: 121.8 kB / 1.034 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3346, allocations: 3.984 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3348, allocations: 101.4 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3348, allocations: 4 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3348, allocations: 4 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3348, allocations: 0 / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.335, allocations: 165.6 kB / 1.035 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.335, allocations: 0 / 1.035 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.3351, allocations: 11.98 kB / 1.035 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3351, allocations: 0 / 1.035 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3351, allocations: 4 kB / 1.035 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3351, allocations: 0 / 1.035 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3351, allocations: 3.938 kB / 1.035 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3354, allocations: 191.4 kB / 1.035 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3354, allocations: 81.11 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3354, allocations: 4 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.3355, allocations: 11.98 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3356, allocations: 4 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3356, allocations: 4 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.3356, allocations: 87.58 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3356, allocations: 0 / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000232/0.3359, allocations: 27.91 kB / 1.035 GB, free: 6.449 MB / 0.6823 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 (bin.y,bin.k) * 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.0001682/0.3361, allocations: 119.2 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3363, allocations: 63.89 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3363, allocations: 0 / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.3364, allocations: 35.91 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.3366, allocations: 13.83 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3369, allocations: 128.6 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.3371, allocations: 0.677 MB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.3372, allocations: 11.98 kB / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.3372, allocations: 11.44 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.3372, allocations: 0 / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.002669/0.3399, allocations: 0.8583 MB / 1.037 GB, free: 4.477 MB / 0.6823 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)