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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001321/0.001321, allocations: 197.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 275 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.002711, allocations: 100.5 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1873, allocations: 89.15 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001885/0.1892, allocations: 0.6525 MB / 0.6934 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004143/0.1896, allocations: 107.7 kB / 0.6935 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.171e-05/0.1896, allocations: 4 kB / 0.6935 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.1897, allocations: 0 / 0.6935 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.708e-06/0.1897, allocations: 0 / 0.6935 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.19, allocations: 35.89 kB / 0.6936 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1901, allocations: 59.92 kB / 0.6936 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.1902, allocations: 0 / 0.6936 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.1902, allocations: 23.98 kB / 0.6937 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.1903, allocations: 27.95 kB / 0.6937 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1903, allocations: 0 / 0.6937 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1904, allocations: 43.95 kB / 0.6937 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.1905, allocations: 19.92 kB / 0.6937 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.1905, allocations: 35.91 kB / 0.6938 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1907, allocations: 67.83 kB / 0.6938 GB, free: 3.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1907, allocations: 0 / 0.6938 GB, free: 3.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1907, allocations: 0 / 0.6938 GB, free: 3.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1907, allocations: 0 / 0.6938 GB, free: 3.75 MB / 494.1 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.0005262/0.1912, allocations: 369.6 kB / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1913, allocations: 8.031 kB / 0.6942 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1913, allocations: 20.77 kB / 0.6942 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1914, allocations: 168.3 kB / 0.6944 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.1917, allocations: 281.6 kB / 0.6946 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1918, allocations: 4.375 kB / 0.6947 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.192, allocations: 86.12 kB / 0.6947 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.192, allocations: 3.938 kB / 0.6947 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1921, allocations: 0 / 0.6947 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1921, allocations: 4 kB / 0.6947 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.1925, allocations: 131.8 kB / 0.6949 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.1927, allocations: 169.7 kB / 0.695 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.193, allocations: 102.5 kB / 0.6951 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1932, allocations: 46.72 kB / 0.6952 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1932, allocations: 3.984 kB / 0.6952 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1932, allocations: 34.56 kB / 0.6952 GB, free: 2.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1932, allocations: 0 / 0.6952 GB, free: 2.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005745/0.1938, allocations: 161.6 kB / 0.6954 GB, free: 1.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1939, allocations: 51.41 kB / 0.6954 GB, free: 1.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.1939, allocations: 93.86 kB / 0.6955 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.194, allocations: 29.7 kB / 0.6955 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.194, allocations: 84.14 kB / 0.6956 GB, free: 1.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.1941, allocations: 31.55 kB / 0.6956 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.1941, allocations: 25.7 kB / 0.6957 GB, free: 1.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1943, allocations: 314.8 kB / 0.696 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1944, allocations: 31.97 kB / 0.696 GB, free: 1.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1946, allocations: 35.97 kB / 0.696 GB, free: 1.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.1949, allocations: 76.75 kB / 0.6961 GB, free: 1.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1949, allocations: 0 / 0.6961 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003697/0.1953, allocations: 117.5 kB / 0.6962 GB, free: 1.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1953, allocations: 7.938 kB / 0.6962 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1953, allocations: 0 / 0.6962 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1953, allocations: 0 / 0.6962 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1955, allocations: 27.97 kB / 0.6962 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1955, allocations: 0 / 0.6962 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.1956, allocations: 11.94 kB / 0.6963 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1956, allocations: 8 kB / 0.6963 GB, free: 0.9766 MB / 494.1 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 0.0001168/0.1958, allocations: 117.8 kB / 0.6964 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.1958, allocations: 7.844 kB / 0.6964 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.1958, allocations: 15.95 kB / 0.6964 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1958, allocations: 7.938 kB / 0.6964 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.1959, allocations: 7.938 kB / 0.6964 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1959, allocations: 0 / 0.6964 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1961, allocations: 181.6 kB / 0.6966 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1961, allocations: 3.938 kB / 0.6966 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.1962, allocations: 23.98 kB / 0.6966 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.1962, allocations: 3.938 kB / 0.6966 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1962, allocations: 7.984 kB / 0.6966 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1962, allocations: 0 / 0.6966 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1963, allocations: 0 / 0.6966 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.1966, allocations: 137.8 kB / 0.6968 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1967, allocations: 85.05 kB / 0.6968 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1967, allocations: 7.922 kB / 0.6969 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.1968, allocations: 12 kB / 0.6969 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.1969, allocations: 15.86 kB / 0.6969 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1969, allocations: 7.984 kB / 0.6969 GB, free: 256 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.1969, allocations: 75.28 kB / 0.697 GB, free: 180 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1969, allocations: 0 / 0.697 GB, free: 180 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1972, allocations: 20 kB / 0.697 GB, free: 160 kB / 494.1 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.0002365/0.1974, allocations: 119.2 kB / 0.6971 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1978, allocations: 83.94 kB / 0.6972 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1978, allocations: 7.938 kB / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.198, allocations: 44.3 kB / 0.6972 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1982, allocations: 1.312 kB / 0.6972 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1986, allocations: 174.6 kB / 0.6974 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.199, allocations: 0.6848 MB / 0.6981 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000202/0.1992, allocations: 35.94 kB / 0.6981 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.1993, allocations: 27.42 kB / 0.6981 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1993, allocations: 3.938 kB / 0.6981 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003718/0.203, allocations: 0.9682 MB / 0.6991 GB, free: 13.96 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)