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.0008966/0.0008967, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005552/0.005552, allocations: 170 kB / 16.26 MB, free: 6.68 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.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.677/1.677, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005599/0.0005601, allocations: 18.91 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007111/0.2158, allocations: 327.4 kB / 0.7882 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004158/0.2162, allocations: 103.7 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.2162, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.2163, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.2163, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.2166, allocations: 31.89 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2167, allocations: 67.94 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.2168, allocations: 4 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.2168, allocations: 19.98 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.2169, allocations: 23.95 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2169, allocations: 4 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2171, allocations: 47.97 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.2171, allocations: 27.89 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.2172, allocations: 45.62 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2173, allocations: 67.84 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2173, allocations: 0 / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2173, allocations: 4 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2174, allocations: 0 / 0.7886 GB, free: 10.8 MB / 0.6075 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.0004684/0.2178, allocations: 343.9 kB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2179, allocations: 12.03 kB / 0.789 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.2179, allocations: 8.844 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.218, allocations: 168.3 kB / 0.7891 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.2183, allocations: 281.6 kB / 0.7894 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2183, allocations: 12.31 kB / 0.7894 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2186, allocations: 82.12 kB / 0.7895 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2186, allocations: 11.94 kB / 0.7895 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2186, allocations: 0 / 0.7895 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2187, allocations: 0 / 0.7895 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.219, allocations: 135.8 kB / 0.7896 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.2192, allocations: 181.6 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.2195, allocations: 98.39 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2197, allocations: 44.83 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.2197, allocations: 8 kB / 0.79 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2198, allocations: 30.56 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2198, allocations: 0 / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005747/0.2204, allocations: 149.7 kB / 0.7901 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2204, allocations: 59.41 kB / 0.7902 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.2205, allocations: 89.86 kB / 0.7903 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2205, allocations: 25.7 kB / 0.7903 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.2205, allocations: 80.14 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.2206, allocations: 35.55 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.2206, allocations: 17.72 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2207, allocations: 310.8 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2209, allocations: 39.91 kB / 0.7908 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.221, allocations: 31.97 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2213, allocations: 76.75 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2213, allocations: 0 / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003414/0.2217, allocations: 117.5 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2217, allocations: 11.94 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2217, allocations: 0 / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2217, allocations: 4 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2219, allocations: 27.91 kB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2219, allocations: 0 / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.222, allocations: 7.938 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.222, allocations: 15.92 kB / 0.791 GB, free: 8.047 MB / 0.6075 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 8.488e-05/0.2221, allocations: 113.8 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.2221, allocations: 7.844 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.2222, allocations: 15.97 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2222, allocations: 0 / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2222, allocations: 0 / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2222, allocations: 3.984 kB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2224, allocations: 177.6 kB / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2224, allocations: 0 / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2225, allocations: 23.92 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2225, allocations: 3.938 kB / 0.7914 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2225, allocations: 11.98 kB / 0.7914 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2225, allocations: 0 / 0.7914 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2225, allocations: 4 kB / 0.7914 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.2229, allocations: 141.7 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.223, allocations: 89.03 kB / 0.7916 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.223, allocations: 3.938 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.2231, allocations: 4 kB / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.2231, allocations: 15.92 kB / 0.7916 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2231, allocations: 7.984 kB / 0.7916 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.2232, allocations: 79.28 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2232, allocations: 0 / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.2234, allocations: 24 kB / 0.7917 GB, free: 7.234 MB / 0.6075 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.0001961/0.2236, allocations: 119.2 kB / 0.7918 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.2239, allocations: 83.98 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2239, allocations: 4 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2241, allocations: 47.84 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2243, allocations: 12 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2247, allocations: 166.7 kB / 0.7921 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.225, allocations: 0.6809 MB / 0.7928 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.2251, allocations: 43.95 kB / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.2252, allocations: 19.42 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2252, allocations: 0 / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of Templates: time 0.00338/0.2286, allocations: 0.9758 MB / 0.7938 GB, free: 5.035 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: