Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.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.001397/0.001397, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001467/0.001467, allocations: 165.5 kB / 24.96 MB, free: 8.129 MB / 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 0.9372/0.9372, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.896/1.896, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 4 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.967e-05, allocations: 2.312 kB / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00123/0.001249, allocations: 0.67 MB / 0.7767 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.001526, allocations: 103.6 kB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001544, allocations: 0.5312 kB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.001578, allocations: 0 / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.001584, allocations: 5.875 kB / 0.7768 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.001855, allocations: 35.83 kB / 0.7768 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.001953, allocations: 66.44 kB / 0.7769 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.001986, allocations: 3.984 kB / 0.7769 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.002031, allocations: 31.97 kB / 0.7769 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.002062, allocations: 23.97 kB / 0.7769 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.002076, allocations: 0.75 kB / 0.7769 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.00221, allocations: 60.56 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.002239, allocations: 19 kB / 0.777 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.002261, allocations: 20.84 kB / 0.777 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.002386, allocations: 89.55 kB / 0.7771 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.002387, allocations: 4.922 kB / 0.7771 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002388, allocations: 2.75 kB / 0.7771 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002391, allocations: 0 / 0.7771 GB, free: 4.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002814/0.002673, allocations: 269.6 kB / 0.7774 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.002702, allocations: 9.344 kB / 0.7774 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.002736, allocations: 16.94 kB / 0.7774 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/0.002795, allocations: 106.7 kB / 0.7775 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.003003, allocations: 0.5221 MB / 0.778 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.003014, allocations: 11.84 kB / 0.778 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.003146, allocations: 83.55 kB / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003153, allocations: 1.172 kB / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.003159, allocations: 384 / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.003166, allocations: 8.125 kB / 0.7781 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.003253, allocations: 87.77 kB / 0.7782 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.721e-05/0.00334, allocations: 80.97 kB / 0.7783 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.0034, allocations: 51.22 kB / 0.7783 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.003425, allocations: 22.25 kB / 0.7783 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.003443, allocations: 4 kB / 0.7783 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.003462, allocations: 35.66 kB / 0.7784 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.003463, allocations: 0 / 0.7784 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000128/0.003591, allocations: 83.66 kB / 0.7785 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.003614, allocations: 56.75 kB / 0.7785 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.694e-05/0.003641, allocations: 89.86 kB / 0.7786 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.003652, allocations: 29.7 kB / 0.7786 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.499e-05/0.003667, allocations: 80.91 kB / 0.7787 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.003704, allocations: 36.33 kB / 0.7787 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.003736, allocations: 34.81 kB / 0.7788 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.003801, allocations: 318.8 kB / 0.7791 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.003819, allocations: 12.75 kB / 0.7791 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.003834, allocations: 9.062 kB / 0.7791 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.003892, allocations: 48.98 kB / 0.7791 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003894, allocations: 0 / 0.7791 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.559e-05/0.003959, allocations: 59.92 kB / 0.7792 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.003971, allocations: 8.781 kB / 0.7792 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.003975, allocations: 0 / 0.7792 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.003985, allocations: 1.188 kB / 0.7792 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.004074, allocations: 23.97 kB / 0.7792 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.004077, allocations: 4 kB / 0.7792 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.004103, allocations: 8.75 kB / 0.7792 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.004113, allocations: 8.578 kB / 0.7793 GB, free: 1.785 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.004167, allocations: 122 kB / 0.7794 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.004174, allocations: 4 kB / 0.7794 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.004196, allocations: 17.56 kB / 0.7794 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0042, allocations: 3.984 kB / 0.7794 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004201, allocations: 0 / 0.7794 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004203, allocations: 336 / 0.7794 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.134e-05/0.004265, allocations: 89.72 kB / 0.7795 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004266, allocations: 4.594 kB / 0.7795 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.004322, allocations: 29.28 kB / 0.7795 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004323, allocations: 0 / 0.7795 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.004331, allocations: 7.984 kB / 0.7795 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004332, allocations: 0 / 0.7795 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004333, allocations: 0.5312 kB / 0.7795 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.829e-05/0.004421, allocations: 97.66 kB / 0.7796 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.004426, allocations: 4 kB / 0.7796 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.004435, allocations: 1.781 kB / 0.7796 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.004456, allocations: 8 kB / 0.7796 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.004491, allocations: 11.97 kB / 0.7796 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.004496, allocations: 0 / 0.7796 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.13e-06/0.004501, allocations: 6.359 kB / 0.7796 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004501, allocations: 0 / 0.7796 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000119/0.00462, allocations: 20 kB / 0.7797 GB, free: 1.324 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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 (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.0001271/0.004747, allocations: 117.4 kB / 0.7798 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.004843, allocations: 49.64 kB / 0.7798 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.004846, allocations: 5.094 kB / 0.7798 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.004882, allocations: 36.94 kB / 0.7799 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.63e-05/0.004938, allocations: 11.94 kB / 0.7799 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.005154, allocations: 136.8 kB / 0.78 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.005185, allocations: 59.36 kB / 0.7801 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.005231, allocations: 20.73 kB / 0.7801 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.005281, allocations: 63.36 kB / 0.7801 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.005281, allocations: 0 / 0.7801 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of Templates: time 0.002862/0.008143, allocations: 1.209 MB / 0.7813 GB, free: 15.64 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.933557836338878]