Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 109.2 kB / 16.29 MB, free: 6.43 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.001141/0.001141, allocations: 187.3 kB / 17.22 MB, free: 5.934 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.229/1.229, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.566/1.566, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001295/0.001295, allocations: 76.45 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.198, allocations: 114.6 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001605/0.1997, allocations: 0.5773 MB / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.2001, allocations: 107.6 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.2001, allocations: 0 / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.2002, allocations: 0 / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.2002, allocations: 0 / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.2005, allocations: 35.89 kB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2006, allocations: 63.92 kB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.2006, allocations: 4 kB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.2007, allocations: 19.98 kB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.2007, allocations: 27.89 kB / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2007, allocations: 8 kB / 0.7849 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2009, allocations: 51.95 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.2009, allocations: 23.91 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.2009, allocations: 23.86 kB / 0.785 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2011, allocations: 71.83 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2011, allocations: 0 / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2011, allocations: 0 / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2011, allocations: 0 / 0.7851 GB, free: 2.785 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004935/0.2016, allocations: 367.8 kB / 0.7854 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2016, allocations: 16.02 kB / 0.7854 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.2017, allocations: 12.84 kB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.2018, allocations: 164.3 kB / 0.7856 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.202, allocations: 285.6 kB / 0.7859 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.202, allocations: 384 / 0.7859 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.2022, allocations: 82.19 kB / 0.786 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2023, allocations: 3.938 kB / 0.786 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2023, allocations: 4 kB / 0.786 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2023, allocations: 3.938 kB / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.2026, allocations: 131.8 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2028, allocations: 177.6 kB / 0.7863 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.203, allocations: 94.52 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2032, allocations: 45.16 kB / 0.7864 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2032, allocations: 3.938 kB / 0.7864 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2032, allocations: 38.56 kB / 0.7864 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 3.376e-06/0.2032, allocations: 0 / 0.7864 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004755/0.2037, allocations: 153.4 kB / 0.7866 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2037, allocations: 55.41 kB / 0.7866 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.446e-05/0.2038, allocations: 89.86 kB / 0.7867 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2038, allocations: 29.7 kB / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.2038, allocations: 80.14 kB / 0.7868 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.2039, allocations: 31.55 kB / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.2039, allocations: 25.7 kB / 0.7869 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2041, allocations: 318.8 kB / 0.7872 GB, free: 348 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2042, allocations: 39.91 kB / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2043, allocations: 35.97 kB / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.2046, allocations: 81.34 kB / 0.7873 GB, free: 188 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2046, allocations: 0 / 0.7873 GB, free: 188 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003264/0.2049, allocations: 113.5 kB / 0.7874 GB, free: 68 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2049, allocations: 7.938 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2049, allocations: 0 / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2049, allocations: 4 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2051, allocations: 31.91 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2051, allocations: 4 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.2052, allocations: 7.938 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2052, allocations: 7.984 kB / 0.7875 GB, free: 4 kB / 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: 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.2715/0.4767, allocations: 113 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.4768, allocations: 7.969 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.4768, allocations: 11.72 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4768, allocations: 1.344 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4768, allocations: 0 / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4768, allocations: 2.266 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.4769, allocations: 179.1 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4769, allocations: 5.156 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4771, allocations: 26.39 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4771, allocations: 0 / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4771, allocations: 3.438 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.4771, allocations: 2.906 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4771, allocations: 3.75 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.4774, allocations: 144.2 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.4774, allocations: 83.28 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4775, allocations: 5.797 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.4775, allocations: 4.312 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4776, allocations: 18.53 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-06/0.4776, allocations: 2.719 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.049e-05/0.4776, allocations: 75.28 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4776, allocations: 2.875 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002179/0.4778, allocations: 25.53 kB / 0.7882 GB, free: 48.03 MB / 0.6544 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.0001396/0.478, allocations: 119.4 kB / 0.7883 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.4782, allocations: 87.14 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4782, allocations: 3.875 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.4784, allocations: 48.23 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.4785, allocations: 8.531 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.4788, allocations: 149 kB / 0.7886 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.4789, allocations: 0.6866 MB / 0.7893 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.479, allocations: 43.38 kB / 0.7893 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.479, allocations: 21.02 kB / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.4791, allocations: 0 / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.002526/0.4816, allocations: 1.013 MB / 0.7903 GB, free: 47.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)