Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005385/0.005385, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.001167/0.001167, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.252/1.252, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.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.001276/0.001276, allocations: 71.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1801, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002195/0.1824, allocations: 1.527 MB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1827, allocations: 140.3 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.1827, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.1828, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.1828, allocations: 7.922 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1831, allocations: 27.91 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.1832, allocations: 35.92 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.1832, allocations: 15.92 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.1833, allocations: 19.92 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.1833, allocations: 15.92 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1833, allocations: 8 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.1834, allocations: 15.98 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1834, allocations: 11.98 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.1835, allocations: 15.88 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1836, allocations: 51.86 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1836, allocations: 0 / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1836, allocations: 0 / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1836, allocations: 0 / 0.8299 GB, free: 14.28 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.0004398/0.1841, allocations: 339.5 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1841, allocations: 16.03 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.1842, allocations: 8.781 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1843, allocations: 176.2 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1843, allocations: 4.375 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1843, allocations: 4.375 kB / 0.8304 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1845, allocations: 58.23 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1845, allocations: 192 / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1845, allocations: 7.922 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1845, allocations: 0 / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1847, allocations: 55.92 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1851, allocations: 284.6 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.1854, allocations: 58.53 kB / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.1855, allocations: 28.91 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.1858, allocations: 397.5 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1859, allocations: 34.55 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1859, allocations: 0 / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003707/0.1863, allocations: 97.48 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1863, allocations: 51.41 kB / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.1864, allocations: 113.8 kB / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1864, allocations: 25.7 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1865, allocations: 88.12 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1865, allocations: 7.906 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1865, allocations: 13.72 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1866, allocations: 318.8 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.1867, allocations: 19.97 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.1868, allocations: 23.98 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.187, allocations: 52.75 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.187, allocations: 4 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001956/0.1872, allocations: 69.66 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1872, allocations: 4 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1872, allocations: 0 / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1872, allocations: 3.984 kB / 0.8321 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.1873, allocations: 12 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1873, allocations: 0 / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.1874, allocations: 11.98 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1874, allocations: 0 / 0.8322 GB, free: 11.62 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 7.195e-05/0.1875, allocations: 113.8 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1875, allocations: 7.906 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1878, allocations: 97.72 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1878, allocations: 0 / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1878, allocations: 0 / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1878, allocations: 0 / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1879, allocations: 165.6 kB / 0.8325 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.188, allocations: 3.938 kB / 0.8325 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.188, allocations: 19.92 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.188, allocations: 384 / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1881, allocations: 4 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1881, allocations: 3.984 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1881, allocations: 4 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1883, allocations: 179.4 kB / 0.8327 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.1883, allocations: 81.02 kB / 0.8328 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1884, allocations: 0 / 0.8328 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.1885, allocations: 7.984 kB / 0.8328 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1885, allocations: 8 kB / 0.8328 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1885, allocations: 4 kB / 0.8328 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.1886, allocations: 91.27 kB / 0.8329 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1886, allocations: 0 / 0.8329 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002209/0.1888, allocations: 12 kB / 0.8329 GB, free: 10.73 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.0001191/0.1889, allocations: 106.2 kB / 0.833 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1891, allocations: 47.95 kB / 0.8331 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1892, allocations: 4 kB / 0.8331 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.1893, allocations: 27.91 kB / 0.8331 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1895, allocations: 10.34 kB / 0.8331 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.1898, allocations: 121.5 kB / 0.8332 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.19, allocations: 0.6844 MB / 0.8339 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.19, allocations: 8 kB / 0.8339 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.1901, allocations: 7.438 kB / 0.8339 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.1901, allocations: 0 / 0.8339 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.002576/0.1926, allocations: 0.77 MB / 0.8347 GB, free: 8.887 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)