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.001165/0.001165, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.003077, allocations: 435.8 kB / 10.33 MB, free: 368 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.00114/0.00114, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002703, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9812/0.9812, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08658/1.068, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.0013/0.0013, allocations: 234.6 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.00235, allocations: 471.2 kB / 244.7 MB, free: 14.17 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.6903/0.6903, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/0.7947, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.643e-06/1.643e-06, allocations: 0 / 427.8 MB, free: 4.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.183e-05, allocations: 10.31 kB / 427.8 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00168/0.001702, allocations: 0.6508 MB / 428.5 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.001943, allocations: 103.6 kB / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.001957, allocations: 0 / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.001977, allocations: 3.938 kB / 428.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.442e-06/0.001979, allocations: 0 / 428.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.002205, allocations: 31.89 kB / 428.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.002342, allocations: 67.88 kB / 428.7 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.002383, allocations: 11.97 kB / 428.7 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.002452, allocations: 35.97 kB / 428.7 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.002499, allocations: 19.97 kB / 428.8 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002518, allocations: 4 kB / 428.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.002695, allocations: 59.86 kB / 428.8 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.002732, allocations: 15.98 kB / 428.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.002755, allocations: 11.94 kB / 428.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.002905, allocations: 63.91 kB / 428.9 MB, free: 3.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.002922, allocations: 0 / 428.9 MB, free: 3.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002923, allocations: 0 / 428.9 MB, free: 3.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.002941, allocations: 0 / 428.9 MB, free: 3.488 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.0005298/0.003471, allocations: 292.5 kB / 429.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.003505, allocations: 8.031 kB / 429.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.003551, allocations: 16.92 kB / 429.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.003629, allocations: 113.7 kB / 429.3 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.00395, allocations: 0.526 MB / 429.9 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.003966, allocations: 4.375 kB / 429.9 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.004164, allocations: 86.89 kB / 430 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004173, allocations: 192 / 430 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004183, allocations: 4.359 kB / 430 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004192, allocations: 8.125 kB / 430 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.004338, allocations: 83.78 kB / 430 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.00446, allocations: 79.77 kB / 430.1 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.00456, allocations: 54.59 kB / 430.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.004603, allocations: 20.86 kB / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.004629, allocations: 0 / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.004656, allocations: 34.56 kB / 430.2 MB, free: 1.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.004657, allocations: 0 / 430.2 MB, free: 1.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001928/0.00485, allocations: 85.53 kB / 430.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.004886, allocations: 55.41 kB / 430.4 MB, free: 1.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.004924, allocations: 93.84 kB / 430.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.004939, allocations: 29.7 kB / 430.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.004963, allocations: 80.14 kB / 430.6 MB, free: 1.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.005014, allocations: 35.69 kB / 430.6 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.005063, allocations: 29.69 kB / 430.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.005264, allocations: 319 kB / 430.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.005295, allocations: 15.94 kB / 431 MB, free: 1.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.005324, allocations: 11.98 kB / 431 MB, free: 1.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.005405, allocations: 39.64 kB / 431 MB, free: 1.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005407, allocations: 0 / 431 MB, free: 1.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001195/0.005526, allocations: 69.61 kB / 431.1 MB, free: 1.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.005542, allocations: 8 kB / 431.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.005548, allocations: 0 / 431.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.005559, allocations: 3.984 kB / 431.1 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.005716, allocations: 27.97 kB / 431.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005721, allocations: 0 / 431.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.005766, allocations: 7.938 kB / 431.1 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.005781, allocations: 11.92 kB / 431.1 MB, free: 0.9844 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.282e-05/0.005853, allocations: 116.6 kB / 431.2 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.005871, allocations: 8 kB / 431.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.005896, allocations: 11.97 kB / 431.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005898, allocations: 0 / 431.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.0059, allocations: 0 / 431.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.005903, allocations: 0 / 431.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.006, allocations: 97.7 kB / 431.4 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006001, allocations: 0 / 431.4 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.006109, allocations: 23.97 kB / 431.4 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.006117, allocations: 7.984 kB / 431.4 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.00612, allocations: 0 / 431.4 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.006128, allocations: 0 / 431.4 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.006132, allocations: 8 kB / 431.4 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006133, allocations: 4 kB / 431.4 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.006264, allocations: 96.97 kB / 431.5 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.006277, allocations: 4 kB / 431.5 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.006319, allocations: 8 kB / 431.5 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.00637, allocations: 11.91 kB / 431.5 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.006379, allocations: 4 kB / 431.5 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.158e-05/0.006391, allocations: 4.859 kB / 431.5 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006391, allocations: 0 / 431.5 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.006603, allocations: 23.94 kB / 431.6 MB, free: 0.5156 MB / 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.0001748/0.006777, allocations: 108.4 kB / 431.7 MB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.006905, allocations: 49.64 kB / 431.7 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.00691, allocations: 4 kB / 431.7 MB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.00696, allocations: 33 kB / 431.7 MB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.348e-05/0.007044, allocations: 27.8 kB / 431.8 MB, free: 288 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.007319, allocations: 141.9 kB / 431.9 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.007364, allocations: 63.34 kB / 432 MB, free: 36 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.925e-05/0.007433, allocations: 15.98 kB / 432 MB, free: 20 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1983/0.2057, allocations: 58.53 kB / 432 MB, free: 3.598 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2057, allocations: 0 / 432 MB, free: 3.598 MB / 410.7 MB Notification: Performance of Templates: time 0.003129/0.2089, allocations: 1.215 MB / 433.3 MB, free: 3.578 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.4021412236616015]