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.6/1.6, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.0009259/0.000926, allocations: 182.2 kB / 373 MB, free: 10.17 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.487/1.487, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0007828/0.0007829, allocations: 98.22 kB / 0.7451 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 12.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6204/0.8037, allocations: 138.7 MB / 1.116 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.8039, allocations: 76.33 kB / 1.116 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003897/0.8079, allocations: 1.331 MB / 1.118 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8079, allocations: 0 / 1.118 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8079, allocations: 0 / 1.118 GB, free: 32.18 MB / 0.698 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.0004232/0.8083, allocations: 367.7 kB / 1.118 GB, free: 31.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8084, allocations: 7.719 kB / 1.118 GB, free: 31.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.8084, allocations: 7.578 kB / 1.118 GB, free: 31.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.8085, allocations: 166.5 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.8085, allocations: 8.188 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.8086, allocations: 384 / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.8088, allocations: 72.91 kB / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8088, allocations: 192 / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.8088, allocations: 7.562 kB / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.8088, allocations: 0 / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.809, allocations: 58.39 kB / 1.118 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.8094, allocations: 275.9 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.8097, allocations: 68.44 kB / 1.119 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.8098, allocations: 30.61 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.8101, allocations: 414.1 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.8101, allocations: 37.19 kB / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.8101, allocations: 0 / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.8105, allocations: 118.5 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.8105, allocations: 55.34 kB / 1.119 GB, free: 30.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.8106, allocations: 111.2 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.8107, allocations: 26.73 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.8107, allocations: 89.28 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.8107, allocations: 7.844 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8107, allocations: 0 / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8108, allocations: 323.5 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.8109, allocations: 27.83 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.811, allocations: 24.97 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.8112, allocations: 58.38 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8112, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001951/0.8114, allocations: 82.95 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8114, allocations: 8.859 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8114, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8114, allocations: 4 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.8115, allocations: 15.03 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.8115, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.8116, allocations: 10.61 kB / 1.12 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.8116, allocations: 3.875 kB / 1.12 GB, free: 30.03 MB / 0.698 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.318e-05/0.8117, allocations: 119.1 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.8117, allocations: 7.844 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.812, allocations: 92.77 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.812, allocations: 0 / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.812, allocations: 3.938 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.812, allocations: 3.812 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.8122, allocations: 177 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8122, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.8123, allocations: 12 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8123, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8123, allocations: 3.812 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8123, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8123, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.8125, allocations: 191.9 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.8126, allocations: 77.11 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.8126, allocations: 0 / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.8127, allocations: 11.08 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.8127, allocations: 10.98 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.8128, allocations: 3.969 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.8128, allocations: 88.2 kB / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8128, allocations: 3.938 kB / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002277/0.813, allocations: 20.83 kB / 1.121 GB, free: 29.34 MB / 0.698 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.000179/0.8132, allocations: 129.3 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.8135, allocations: 62.19 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8135, allocations: 0 / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.8136, allocations: 28.28 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.8138, allocations: 10.95 kB / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.8141, allocations: 127.5 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.8144, allocations: 0.6801 MB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.8144, allocations: 5.328 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.8145, allocations: 11.41 kB / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8145, allocations: 4 kB / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of Templates: time 0.002698/0.8172, allocations: 0.858 MB / 1.123 GB, free: 28.34 MB / 0.698 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)