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.002074/0.002074, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002088/0.002088, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.581/1.581, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.161/3.161, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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.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.833e-06/1.833e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.441e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00327/0.003304, allocations: 1.555 MB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006043/0.003908, allocations: 183.3 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.00396, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.003998, allocations: 3.938 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.004041, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.004448, allocations: 59.75 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.004544, allocations: 43.8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004657, allocations: 15.97 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.004707, allocations: 19.98 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.004754, allocations: 11.98 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.004773, allocations: 4 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.004914, allocations: 55.88 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.00493, allocations: 7.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.004958, allocations: 15.97 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.005133, allocations: 71.77 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.005138, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.005139, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.005143, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 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.0005191/0.005662, allocations: 278.2 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.005697, allocations: 9.344 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.00573, allocations: 4.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005847, allocations: 109.7 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.005872, allocations: 8.375 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.005881, allocations: 384 / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.00609, allocations: 74.14 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006099, allocations: 192 / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.006108, allocations: 4.312 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.006112, allocations: 384 / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.006323, allocations: 51.89 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.006692, allocations: 216.5 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.007016, allocations: 62.47 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.00712, allocations: 24.91 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.007278, allocations: 11.98 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.007309, allocations: 34.5 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00731, allocations: 4 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003995/0.00771, allocations: 93.62 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.007758, allocations: 59.34 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.007854, allocations: 101.8 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.007875, allocations: 25.7 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.007936, allocations: 92.09 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.007957, allocations: 7.891 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.007998, allocations: 21.7 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.008166, allocations: 318.8 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.008268, allocations: 19.97 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/0.008352, allocations: 20.23 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.00853, allocations: 44.81 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.008534, allocations: 4 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002327/0.008767, allocations: 85.47 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008779, allocations: 8 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.008783, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008796, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.008877, allocations: 11.98 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008882, allocations: 0 / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.008938, allocations: 7.984 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008944, allocations: 0 / 1.005 GB, free: 9.023 MB / 0.9636 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 9.471e-05/0.009038, allocations: 120.4 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.009064, allocations: 3.938 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.009386, allocations: 89.28 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009388, allocations: 384 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.009391, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.009393, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.009546, allocations: 113.3 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.00955, allocations: 7.922 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.009627, allocations: 11.98 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.009629, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.009638, allocations: 7.938 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009639, allocations: 4 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.009642, allocations: 3.984 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.009927, allocations: 163.5 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.009932, allocations: 0 / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.009948, allocations: 7.938 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.01004, allocations: 3.984 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.01009, allocations: 11.98 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.01009, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.01015, allocations: 87.28 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01015, allocations: 4 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002414/0.01039, allocations: 23.89 kB / 1.005 GB, free: 8.305 MB / 0.9636 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.0001975/0.01059, allocations: 115.2 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01082, allocations: 43.95 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01082, allocations: 0 / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01093, allocations: 27.97 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01116, allocations: 4 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.01148, allocations: 131 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.01156, allocations: 67.28 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.01158, allocations: 3.938 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.01161, allocations: 12.5 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.01161, allocations: 0 / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of Templates: time 0.004016/0.01563, allocations: 0.9899 MB / 1.007 GB, free: 6.875 MB / 0.9636 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: 8.789066934026778]