Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9097/0.9097, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 184.2 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 408.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001015, allocations: 97.66 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 53.58 kB / 0.558 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1814, allocations: 75.47 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002681/0.1841, allocations: 1.591 MB / 0.6332 GB, free: 31.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.1845, allocations: 131.6 kB / 0.6334 GB, free: 31.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.1846, allocations: 4 kB / 0.6334 GB, free: 31.26 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.1846, allocations: 0 / 0.6334 GB, free: 31.26 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.1847, allocations: 7.922 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.185, allocations: 23.98 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.185, allocations: 27.92 kB / 0.6334 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1852, allocations: 15.98 kB / 0.6334 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.1852, allocations: 19.86 kB / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.1853, allocations: 23.91 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1853, allocations: 4 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.1854, allocations: 12 kB / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1854, allocations: 15.92 kB / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1854, allocations: 7.938 kB / 0.6335 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1855, allocations: 43.86 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1856, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1856, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1856, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB 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.0004709/0.186, allocations: 355.7 kB / 0.6339 GB, free: 30.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1861, allocations: 8.031 kB / 0.6339 GB, free: 30.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1861, allocations: 12.86 kB / 0.6339 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1863, allocations: 164.3 kB / 0.6341 GB, free: 30.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1863, allocations: 8.375 kB / 0.6341 GB, free: 30.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1863, allocations: 384 / 0.6341 GB, free: 30.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1865, allocations: 62.22 kB / 0.6341 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1865, allocations: 4.188 kB / 0.6341 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1865, allocations: 3.938 kB / 0.6341 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1865, allocations: 4 kB / 0.6341 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1867, allocations: 51.88 kB / 0.6342 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1871, allocations: 276.8 kB / 0.6345 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1874, allocations: 62.59 kB / 0.6345 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.1875, allocations: 20.84 kB / 0.6345 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.1878, allocations: 401.5 kB / 0.6349 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1878, allocations: 30.56 kB / 0.635 GB, free: 29.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.1878, allocations: 3.938 kB / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004328/0.1883, allocations: 105.7 kB / 0.6351 GB, free: 29.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1883, allocations: 55.39 kB / 0.6351 GB, free: 29.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.1884, allocations: 101.9 kB / 0.6352 GB, free: 29.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1884, allocations: 25.7 kB / 0.6352 GB, free: 29.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1885, allocations: 92.12 kB / 0.6353 GB, free: 28.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1885, allocations: 7.844 kB / 0.6353 GB, free: 28.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.1886, allocations: 17.72 kB / 0.6353 GB, free: 28.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.1886, allocations: 318.8 kB / 0.6356 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.1887, allocations: 23.98 kB / 0.6357 GB, free: 28.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.1888, allocations: 19.98 kB / 0.6357 GB, free: 28.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.189, allocations: 48.75 kB / 0.6357 GB, free: 28.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.189, allocations: 0 / 0.6357 GB, free: 28.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001958/0.1892, allocations: 73.64 kB / 0.6358 GB, free: 28.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1892, allocations: 8 kB / 0.6358 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1892, allocations: 4 kB / 0.6358 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1893, allocations: 3.938 kB / 0.6358 GB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.1893, allocations: 15.98 kB / 0.6358 GB, free: 28.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1894, allocations: 0 / 0.6358 GB, free: 28.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1894, allocations: 7.906 kB / 0.6358 GB, free: 28.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1894, allocations: 0 / 0.6358 GB, free: 28.39 MB / 442.7 MB 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.19e-05/0.1895, allocations: 117.8 kB / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1895, allocations: 4 kB / 0.636 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.1898, allocations: 89.48 kB / 0.636 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1898, allocations: 0 / 0.636 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1898, allocations: 0 / 0.636 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1898, allocations: 0 / 0.636 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.19, allocations: 169.6 kB / 0.6362 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.19, allocations: 3.938 kB / 0.6362 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.1901, allocations: 11.98 kB / 0.6362 GB, free: 27.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1901, allocations: 8 kB / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1901, allocations: 0 / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1901, allocations: 320 / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1901, allocations: 4 kB / 0.6362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1906, allocations: 0.7401 MB / 0.637 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.1906, allocations: 77.11 kB / 0.637 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1906, allocations: 4 kB / 0.637 GB, free: 27.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1907, allocations: 7.984 kB / 0.637 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1908, allocations: 11.92 kB / 0.6371 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1908, allocations: 3.938 kB / 0.6371 GB, free: 27.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.048e-05/0.1908, allocations: 91.27 kB / 0.6371 GB, free: 26.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1908, allocations: 0 / 0.6371 GB, free: 26.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.1912, allocations: 8 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB 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.0001512/0.1913, allocations: 111.5 kB / 0.6373 GB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1915, allocations: 51.94 kB / 0.6373 GB, free: 26.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1916, allocations: 0 / 0.6373 GB, free: 26.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.1916, allocations: 19.98 kB / 0.6373 GB, free: 26.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1919, allocations: 7.984 kB / 0.6373 GB, free: 26.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.1923, allocations: 241.8 kB / 0.6376 GB, free: 26.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.1924, allocations: 0.6809 MB / 0.6382 GB, free: 25.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.1925, allocations: 0 / 0.6382 GB, free: 25.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.1925, allocations: 11.44 kB / 0.6382 GB, free: 25.71 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1925, allocations: 4 kB / 0.6382 GB, free: 25.71 MB / 442.7 MB Notification: Performance of Templates: time 0.002837/0.1953, allocations: 0.6882 MB / 0.6389 GB, free: 25.03 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)