Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006775/0.0006775, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008915/0.001569, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006861/0.0006861, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008937/0.00158, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08208/1.103, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001274/0.001274, allocations: 226.1 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.002378, allocations: 479.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7196/0.7196, allocations: 138.7 MB / 384.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07029/0.7899, allocations: 42.4 MB / 426.7 MB, free: 5.812 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 428.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.389e-05, allocations: 2.312 kB / 428.1 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001862/0.001886, allocations: 0.6626 MB / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000244/0.00213, allocations: 107.5 kB / 428.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.002146, allocations: 0 / 428.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.002166, allocations: 3.984 kB / 428.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.743e-06/0.002168, allocations: 0 / 428.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.002401, allocations: 27.89 kB / 428.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.002537, allocations: 67.94 kB / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.002576, allocations: 0 / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.002648, allocations: 35.95 kB / 429 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.002699, allocations: 27.89 kB / 429 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.002722, allocations: 8 kB / 429.1 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.002907, allocations: 55.88 kB / 429.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.002951, allocations: 15.98 kB / 429.1 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.002973, allocations: 11.98 kB / 429.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.003127, allocations: 63.81 kB / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.00314, allocations: 0 / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003141, allocations: 0 / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.003152, allocations: 0 / 429.2 MB, free: 3.316 MB / 410.7 MB 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.0004403/0.003593, allocations: 292.5 kB / 429.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.003627, allocations: 11.98 kB / 429.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.003677, allocations: 20.94 kB / 429.5 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.003753, allocations: 105.8 kB / 429.6 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.004055, allocations: 0.5259 MB / 430.1 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.004072, allocations: 8.375 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.004258, allocations: 86.83 kB / 430.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.004266, allocations: 192 / 430.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004276, allocations: 384 / 430.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.004283, allocations: 8.125 kB / 430.2 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.004417, allocations: 83.83 kB / 430.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.004532, allocations: 75.77 kB / 430.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004635, allocations: 58.55 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.004676, allocations: 20.84 kB / 430.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.0047, allocations: 7.938 kB / 430.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.004726, allocations: 38.56 kB / 430.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.004727, allocations: 336 / 430.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000178/0.004905, allocations: 77.59 kB / 430.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.004933, allocations: 55.41 kB / 430.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.781e-05/0.004971, allocations: 89.86 kB / 430.7 MB, free: 1.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.004985, allocations: 25.7 kB / 430.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.005008, allocations: 80.14 kB / 430.8 MB, free: 1.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.005059, allocations: 43.67 kB / 430.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.005102, allocations: 25.7 kB / 430.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.005197, allocations: 322.8 kB / 431.2 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.005228, allocations: 11.98 kB / 431.2 MB, free: 1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.005254, allocations: 11.94 kB / 431.3 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.005332, allocations: 48.23 kB / 431.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005335, allocations: 0 / 431.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001069/0.005441, allocations: 61.61 kB / 431.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.005455, allocations: 8 kB / 431.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005459, allocations: 0 / 431.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005472, allocations: 4 kB / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.00562, allocations: 31.91 kB / 431.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.005625, allocations: 3.984 kB / 431.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.005667, allocations: 4 kB / 431.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.005679, allocations: 7.938 kB / 431.4 MB, free: 0.8125 MB / 410.7 MB 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 7.048e-05/0.00575, allocations: 112.7 kB / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.005769, allocations: 11.98 kB / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.005793, allocations: 7.969 kB / 431.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005795, allocations: 0 / 431.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.005798, allocations: 8 kB / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005801, allocations: 0 / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.005892, allocations: 93.7 kB / 431.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.005894, allocations: 3.984 kB / 431.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.005996, allocations: 31.91 kB / 431.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.006001, allocations: 3.938 kB / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.006003, allocations: 0 / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.006012, allocations: 7.984 kB / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006014, allocations: 0 / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006015, allocations: 0 / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.006141, allocations: 97.03 kB / 431.8 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006155, allocations: 7.984 kB / 431.8 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.006197, allocations: 8 kB / 431.8 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.006242, allocations: 11.97 kB / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.00625, allocations: 0 / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.364e-06/0.006257, allocations: 4.859 kB / 431.8 MB, free: 372 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006257, allocations: 0 / 431.8 MB, free: 372 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000208/0.006465, allocations: 23.94 kB / 431.8 MB, free: 348 kB / 410.7 MB 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.0001864/0.006652, allocations: 112.3 kB / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.006764, allocations: 48.83 kB / 432 MB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.006767, allocations: 0 / 432 MB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/0.006828, allocations: 44.77 kB / 432 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.647e-05/0.006915, allocations: 27.86 kB / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1656/0.1725, allocations: 136 kB / 432.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.1725, allocations: 59.72 kB / 432.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.1726, allocations: 19.02 kB / 432.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.1726, allocations: 64.59 kB / 432.3 MB, free: 3.367 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1726, allocations: 0 / 432.3 MB, free: 3.367 MB / 410.7 MB Notification: Performance of Templates: time 0.003026/0.1757, allocations: 1.262 MB / 433.6 MB, free: 3.348 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.486570200882852]