Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 104.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.00115/0.00115, allocations: 187.9 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.149/1.149, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.567/1.567, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001313/0.001313, allocations: 74.56 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1878, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002388/0.1902, allocations: 1.533 MB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003588/0.1906, allocations: 140.5 kB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1907, allocations: 0 / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.1907, allocations: 3.938 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.1908, allocations: 3.938 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1911, allocations: 27.95 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.1911, allocations: 35.92 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.1912, allocations: 15.92 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.1913, allocations: 12 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.1913, allocations: 23.91 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1913, allocations: 4 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-05/0.1914, allocations: 15.98 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.1914, allocations: 15.92 kB / 0.7858 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1915, allocations: 15.88 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1916, allocations: 55.8 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1916, allocations: 0 / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1916, allocations: 0 / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1916, allocations: 0 / 0.7859 GB, free: 1.902 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.0004446/0.1921, allocations: 351.6 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1921, allocations: 12.03 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1922, allocations: 0.9375 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1923, allocations: 172.3 kB / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1923, allocations: 4.375 kB / 0.7864 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1923, allocations: 4.375 kB / 0.7864 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1925, allocations: 58.23 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1925, allocations: 192 / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1925, allocations: 3.938 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1925, allocations: 7.938 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1927, allocations: 47.95 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1931, allocations: 284.7 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.1934, allocations: 62.47 kB / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.1935, allocations: 28.91 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.1938, allocations: 397.5 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1938, allocations: 30.56 kB / 0.7873 GB, free: 216 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1938, allocations: 0 / 0.7873 GB, free: 216 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003436/0.1941, allocations: 97.8 kB / 0.7874 GB, free: 112 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1942, allocations: 55.41 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2759/0.4701, allocations: 109.9 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4702, allocations: 25.7 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.4702, allocations: 85.05 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.4702, allocations: 11.72 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.4703, allocations: 16.28 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.4703, allocations: 318 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.4704, allocations: 19.58 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.4705, allocations: 21.83 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4706, allocations: 49.31 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4707, allocations: 3.438 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000197/0.4709, allocations: 73.02 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4709, allocations: 5.406 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4709, allocations: 0 / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4709, allocations: 6.594 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.471, allocations: 10.94 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.471, allocations: 0 / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.4711, allocations: 9.922 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4711, allocations: 5.625 kB / 0.7882 GB, free: 48.32 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 (falFac.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.362e-05/0.4712, allocations: 112.8 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4712, allocations: 5.25 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4714, allocations: 87.52 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4714, allocations: 2.688 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4714, allocations: 2.875 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4714, allocations: 0 / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.4716, allocations: 165.3 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4716, allocations: 4.562 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.4716, allocations: 8.766 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4716, allocations: 2.719 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4717, allocations: 4.438 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4717, allocations: 6.562 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4717, allocations: 3.75 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.4719, allocations: 170.8 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4719, allocations: 83.73 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4719, allocations: 3.938 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.472, allocations: 7.234 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.472, allocations: 10.16 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.472, allocations: 4.75 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.4721, allocations: 84.47 kB / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4721, allocations: 0 / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002133/0.4723, allocations: 19.45 kB / 0.789 GB, free: 47.68 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001026/0.4724, allocations: 102.6 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.4726, allocations: 50.66 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4726, allocations: 0 / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.4727, allocations: 25.34 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.473, allocations: 7.531 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.4732, allocations: 118.6 kB / 0.7892 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.4733, allocations: 0.6864 MB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.4733, allocations: 2.875 kB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.4734, allocations: 12.16 kB / 0.7899 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.4734, allocations: 0 / 0.7899 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.00238/0.4757, allocations: 0.7599 MB / 0.7907 GB, free: 46.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)