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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001445/0.001445, allocations: 179.8 kB / 371.6 MB, free: 3.391 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.633/1.633, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008719/0.0008717, allocations: 97 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.62e-05, allocations: 11.98 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8697/1.104, allocations: 138.5 MB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.104, allocations: 80.78 kB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003358/1.107, allocations: 1.21 MB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/1.107, allocations: 0 / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.107, allocations: 0.6562 kB / 1.116 GB, free: 44.2 MB / 0.7448 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.000406/1.108, allocations: 355.8 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.108, allocations: 8.625 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/1.108, allocations: 7.75 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/1.108, allocations: 167.5 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/1.108, allocations: 279 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.108, allocations: 4.531 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/1.108, allocations: 80.14 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.108, allocations: 0.6094 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.108, allocations: 2.953 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.108, allocations: 0.75 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/1.109, allocations: 121.5 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/1.109, allocations: 185.4 kB / 1.117 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/1.109, allocations: 77.52 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/1.109, allocations: 34.75 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/1.109, allocations: 15.02 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/1.109, allocations: 34.56 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/1.109, allocations: 0 / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002491/1.109, allocations: 93.81 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.109, allocations: 54.78 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.436e-05/1.109, allocations: 88.91 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.109, allocations: 29.7 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/1.109, allocations: 85.61 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/1.109, allocations: 30.31 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.109, allocations: 0 / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/1.109, allocations: 314 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/1.11, allocations: 26.08 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/1.11, allocations: 27.48 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/1.11, allocations: 35.78 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.11, allocations: 0 / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000135/1.11, allocations: 97.5 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.11, allocations: 8 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.11, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.11, allocations: 0.5625 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.11, allocations: 26.53 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.11, allocations: 4.656 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/1.11, allocations: 3.281 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.11, allocations: 4.875 kB / 1.119 GB, free: 41.98 MB / 0.7448 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 () * 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 6.437e-05/1.11, allocations: 118 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.11, allocations: 3.953 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/1.11, allocations: 14.98 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/1.11, allocations: 7.938 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.11, allocations: 1.547 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.11, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/1.11, allocations: 174.8 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.11, allocations: 4 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.111, allocations: 26.48 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.111, allocations: 7.953 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.111, allocations: 3.281 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.111, allocations: 4.5 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.111, allocations: 1.312 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/1.111, allocations: 123.7 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/1.111, allocations: 84.95 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.111, allocations: 17.97 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/1.111, allocations: 3.938 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/1.111, allocations: 18.89 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.111, allocations: 0 / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.149e-05/1.111, allocations: 75.28 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000204/1.111, allocations: 33.34 kB / 1.119 GB, free: 41.27 MB / 0.7448 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 () * 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.0002312/1.111, allocations: 121.2 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001492/1.112, allocations: 73.09 kB / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.112, allocations: 0 / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/1.112, allocations: 49.8 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.814e-05/1.112, allocations: 5 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/1.112, allocations: 102.8 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/1.112, allocations: 0.6876 MB / 1.12 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001163/1.112, allocations: 37.42 kB / 1.12 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/1.112, allocations: 18.81 kB / 1.12 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/1.112, allocations: 0 / 1.12 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002947/1.115, allocations: 0.9167 MB / 1.121 GB, free: 39.72 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (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)