Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 80.75 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.046/1.046, allocations: 177.2 MB / 204.7 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.963/1.963, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.082e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002044/0.002065, allocations: 1.648 MB / 0.777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.002409, allocations: 185.1 kB / 0.7772 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.002445, allocations: 0 / 0.7772 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.002477, allocations: 9.453 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.002519, allocations: 5.312 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.002773, allocations: 48.41 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.002834, allocations: 37.22 kB / 0.7773 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.002904, allocations: 12.95 kB / 0.7773 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.002945, allocations: 21.84 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.002979, allocations: 18.84 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002992, allocations: 4 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.003109, allocations: 51.94 kB / 0.7774 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.003121, allocations: 13.61 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.003138, allocations: 9.75 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.003254, allocations: 68 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003256, allocations: 0 / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003256, allocations: 4 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.00326, allocations: 1.312 kB / 0.7775 GB, free: 3.137 MB / 0.7292 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.0002666/0.003526, allocations: 245.6 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.003556, allocations: 9.344 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.003579, allocations: 13.38 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.003649, allocations: 114.5 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.003665, allocations: 4.375 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.003673, allocations: 2.188 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.003771, allocations: 66.92 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003778, allocations: 192 / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.003784, allocations: 384 / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00379, allocations: 4.375 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.003812, allocations: 10.69 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.004008, allocations: 168.2 kB / 0.7781 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.004127, allocations: 34.56 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.004141, allocations: 8.859 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.004256, allocations: 23.97 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.004274, allocations: 33.81 kB / 0.7782 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004275, allocations: 0 / 0.7782 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.976e-05/0.004374, allocations: 53.56 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.004397, allocations: 51.41 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.004446, allocations: 110.8 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004456, allocations: 25.7 kB / 0.7784 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.004484, allocations: 88.03 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.004499, allocations: 15.92 kB / 0.7785 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004524, allocations: 19.31 kB / 0.7785 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.004585, allocations: 310.8 kB / 0.7788 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.004595, allocations: 4 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-06/0.004604, allocations: 3.984 kB / 0.7788 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.004632, allocations: 21.48 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004634, allocations: 3.938 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.378e-05/0.004678, allocations: 39.02 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.004688, allocations: 7.984 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004692, allocations: 7.875 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.004699, allocations: 1.922 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.004739, allocations: 8 kB / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004742, allocations: 3.984 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.00476, allocations: 7.984 kB / 0.7789 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.004763, allocations: 1.344 kB / 0.7789 GB, free: 1.5 MB / 0.7292 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,rea2Int.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 4.725e-05/0.00481, allocations: 109.8 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.004824, allocations: 7.984 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.004889, allocations: 54.14 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004891, allocations: 1.125 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.004893, allocations: 4 kB / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004895, allocations: 0 / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.004972, allocations: 74.95 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004973, allocations: 0 / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.004999, allocations: 8 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005, allocations: 0.5 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.005004, allocations: 0.7812 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005004, allocations: 0 / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005006, allocations: 4.469 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.729e-05/0.005073, allocations: 144.5 kB / 0.7793 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.005079, allocations: 4 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-06/0.005085, allocations: 0 / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.005114, allocations: 0.7188 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.005152, allocations: 15.92 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.005155, allocations: 0.5312 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.005167, allocations: 14.62 kB / 0.7793 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005168, allocations: 0 / 0.7793 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000132/0.0053, allocations: 23.89 kB / 0.7794 GB, free: 1 MB / 0.7292 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.0001087/0.005408, allocations: 96.41 kB / 0.7794 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.005466, allocations: 22.28 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005468, allocations: 0 / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.005487, allocations: 16.8 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.005597, allocations: 4.969 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.005783, allocations: 129.6 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.916e-05/0.005813, allocations: 55.36 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.005832, allocations: 5.219 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.005872, allocations: 59.36 kB / 0.7797 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.005873, allocations: 1.031 kB / 0.7797 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of Templates: time 0.002395/0.008268, allocations: 1.047 MB / 0.7808 GB, free: 15.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.139088932424784]