Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009873, allocations: 115.4 kB / 16.38 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009244/0.0009245, allocations: 186.3 kB / 17.31 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 68.12 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1966, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002727/0.1993, allocations: 1.533 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004312/0.1998, allocations: 176.2 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.1998, allocations: 0 / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.1999, allocations: 3.938 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1999, allocations: 3.938 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2003, allocations: 59.81 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.2003, allocations: 27.98 kB / 0.7866 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.2004, allocations: 23.91 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.2005, allocations: 19.92 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.2005, allocations: 19.92 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2005, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2007, allocations: 51.95 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2007, allocations: 7.984 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.2007, allocations: 11.94 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.2009, allocations: 59.78 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2009, allocations: 4 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2009, allocations: 0 / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2009, allocations: 4 kB / 0.7867 GB, free: 1.152 MB / 0.6544 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.0004169/0.2013, allocations: 359.4 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2014, allocations: 8.031 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.2014, allocations: 4.875 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.2015, allocations: 168.3 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2015, allocations: 384 / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2015, allocations: 8.375 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2017, allocations: 74.14 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2018, allocations: 192 / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2018, allocations: 3.938 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2018, allocations: 4 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.202, allocations: 43.95 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2023, allocations: 280.6 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2026, allocations: 62.47 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3913/0.594, allocations: 28.64 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.5943, allocations: 167.2 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.5943, allocations: 36.17 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.5943, allocations: 0 / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004219/0.5947, allocations: 95.23 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/0.5947, allocations: 54.31 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.5948, allocations: 111.5 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5948, allocations: 28.02 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.5949, allocations: 83.39 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.5949, allocations: 9.375 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.5949, allocations: 18.2 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.595, allocations: 313.4 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.5951, allocations: 20.64 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.5952, allocations: 20.58 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.5953, allocations: 50.52 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5954, allocations: 0 / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000199/0.5956, allocations: 79.62 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5956, allocations: 6.094 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5956, allocations: 0.75 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5956, allocations: 0 / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.5957, allocations: 14.61 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5957, allocations: 0 / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.5958, allocations: 6 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5958, allocations: 3.125 kB / 0.7888 GB, free: 47.88 MB / 0.6544 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 5.735e-05/0.5959, allocations: 119.8 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.5959, allocations: 5.125 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.5961, allocations: 86.89 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5961, allocations: 3.312 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5962, allocations: 0 / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.5962, allocations: 77.11 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.5962, allocations: 2.625 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.5963, allocations: 10.03 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.5963, allocations: 15.67 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002393/0.5966, allocations: 159.1 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002339/0.5968, allocations: 248.1 kB / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.397e-05/0.5969, allocations: 26.22 kB / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.597, allocations: 87.14 kB / 0.7896 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Backend: time 5.61e-07/0.597, allocations: 0 / 0.7896 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.5975, allocations: 126.3 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004192/0.5979, allocations: 0.5667 MB / 0.7903 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.00315/0.6011, allocations: 1.078 MB / 0.7913 GB, free: 46.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)