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.002162/0.002162, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002145/0.002145, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 3.383/3.383, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003655/0.003655, allocations: 71.89 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8351, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001818/0.8369, allocations: 0.5865 MB / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.8374, allocations: 109.7 kB / 1.354 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.8374, allocations: 0 / 1.354 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.8374, allocations: 3.938 kB / 1.354 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.8374, allocations: 0 / 1.354 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.8378, allocations: 39.89 kB / 1.354 GB, free: 0.8711 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.8379, allocations: 67.92 kB / 1.354 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.838, allocations: 0 / 1.354 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.838, allocations: 19.98 kB / 1.354 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.8381, allocations: 31.89 kB / 1.354 GB, free: 0.7539 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8381, allocations: 0 / 1.354 GB, free: 0.7539 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.8382, allocations: 51.95 kB / 1.354 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.8383, allocations: 23.97 kB / 1.354 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.8383, allocations: 23.92 kB / 1.354 GB, free: 0.6562 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.8385, allocations: 70.64 kB / 1.354 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8385, allocations: 0 / 1.354 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8385, allocations: 0 / 1.354 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8385, allocations: 0 / 1.354 GB, free: 0.5898 MB / 1.026 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.0005808/0.8391, allocations: 296 kB / 1.354 GB, free: 276 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8391, allocations: 12.92 kB / 1.354 GB, free: 264 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.8392, allocations: 8.891 kB / 1.354 GB, free: 256 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.8393, allocations: 110.5 kB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005256/0.8398, allocations: 0.526 MB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.8398, allocations: 16.25 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.8401, allocations: 82.19 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.8401, allocations: 7.938 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8401, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8401, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.8405, allocations: 127.8 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.8407, allocations: 125.2 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.841, allocations: 94.45 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.8412, allocations: 40.83 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.8412, allocations: 8 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.8412, allocations: 34.56 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.8412, allocations: 0 / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0005762/0.8418, allocations: 158 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.8419, allocations: 51.41 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.8419, allocations: 89.86 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.842, allocations: 29.7 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.842, allocations: 80.14 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.8421, allocations: 39.69 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.8421, allocations: 29.64 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8423, allocations: 314.8 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.8425, allocations: 35.97 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.8426, allocations: 43.95 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.8429, allocations: 68.81 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8429, allocations: 0 / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000355/0.8433, allocations: 109.6 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8433, allocations: 4 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8433, allocations: 0 / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8433, allocations: 3.938 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.8437, allocations: 31.91 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8437, allocations: 4 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.8438, allocations: 15.89 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.8438, allocations: 4 kB / 1.356 GB, free: 13.73 MB / 1.042 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 0.0001176/0.8439, allocations: 118.4 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.8439, allocations: 0 / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.8439, allocations: 19.84 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.8439, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.844, allocations: 3.984 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.844, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.8441, allocations: 121.2 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8441, allocations: 4 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.8442, allocations: 31.91 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8442, allocations: 0 / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8443, allocations: 4 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.8443, allocations: 7.938 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8443, allocations: 0 / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.8446, allocations: 137 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.8447, allocations: 11.94 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.8447, allocations: 0 / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.8448, allocations: 15.92 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.8448, allocations: 15.98 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.8448, allocations: 7.984 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.8449, allocations: 75.28 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8449, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000221/0.8451, allocations: 20 kB / 1.357 GB, free: 13.09 MB / 1.042 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.0002107/0.8453, allocations: 123 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.8457, allocations: 75.94 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8457, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.8458, allocations: 51.84 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.846, allocations: 12.88 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.8464, allocations: 152.9 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.8465, allocations: 74.05 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.8466, allocations: 43.73 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.8467, allocations: 19.42 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of SimCode: time 3.3e-07/0.8467, allocations: 0 / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of Templates: time 0.004099/0.8508, allocations: 0.9978 MB / 1.358 GB, free: 11.51 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.075516649521887]