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.00593/0.00593, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.0012/0.0012, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.202/1.202, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.392/1.392, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001312/0.001312, allocations: 71.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1772, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002303/0.1796, allocations: 1.538 MB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003421/0.1799, allocations: 132.3 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.18, allocations: 0 / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.18, allocations: 0 / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.1801, allocations: 3.938 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1804, allocations: 31.91 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.1805, allocations: 35.91 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1806, allocations: 23.92 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.1807, allocations: 11.94 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1807, allocations: 23.91 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1807, allocations: 4 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.1808, allocations: 23.97 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1808, allocations: 4 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1809, allocations: 15.88 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.181, allocations: 47.86 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.181, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.181, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.181, allocations: 0 / 0.8299 GB, free: 14.3 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.0004474/0.1815, allocations: 351.5 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1815, allocations: 8.031 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1815, allocations: 8.844 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1816, allocations: 168.3 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1817, allocations: 4.375 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1817, allocations: 384 / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1819, allocations: 66.22 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1819, allocations: 192 / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1819, allocations: 11.94 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1819, allocations: 0 / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1821, allocations: 43.89 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1825, allocations: 280.6 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1828, allocations: 62.53 kB / 0.8309 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.1829, allocations: 24.91 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.1831, allocations: 405.5 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1832, allocations: 30.56 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.1832, allocations: 0 / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003628/0.1836, allocations: 105.5 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1836, allocations: 51.41 kB / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.1837, allocations: 113.9 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1837, allocations: 25.7 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.1837, allocations: 88.14 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.1837, allocations: 3.906 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.1838, allocations: 17.72 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.1839, allocations: 322.8 kB / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.184, allocations: 19.98 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.184, allocations: 19.97 kB / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1842, allocations: 44.77 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1842, allocations: 0 / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000199/0.1844, allocations: 81.64 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1844, allocations: 4 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1845, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1845, allocations: 4 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.1845, allocations: 11.98 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1846, allocations: 0 / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.1846, allocations: 4 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.1846, allocations: 0 / 0.8322 GB, free: 11.65 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 6.782e-05/0.1847, allocations: 126.1 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1847, allocations: 3.906 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.185, allocations: 93.41 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.185, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.185, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.185, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1851, allocations: 169.6 kB / 0.8325 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1852, allocations: 4 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.1852, allocations: 15.92 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1852, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1853, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1853, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1853, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1855, allocations: 183.4 kB / 0.8327 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.1856, allocations: 85.02 kB / 0.8328 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1856, allocations: 3.938 kB / 0.8328 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.1857, allocations: 7.984 kB / 0.8328 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.1857, allocations: 4 kB / 0.8328 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.1857, allocations: 3.984 kB / 0.8328 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.1858, allocations: 83.59 kB / 0.8329 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1858, allocations: 0 / 0.8329 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002107/0.186, allocations: 16 kB / 0.8329 GB, free: 10.76 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.0001309/0.1861, allocations: 111.2 kB / 0.833 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.1863, allocations: 39.95 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1864, allocations: 0 / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.1865, allocations: 27.92 kB / 0.8331 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1867, allocations: 11.94 kB / 0.8331 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.187, allocations: 121.5 kB / 0.8332 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.1872, allocations: 0.6805 MB / 0.8339 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.1872, allocations: 8.219 kB / 0.8339 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1872, allocations: 15.44 kB / 0.8339 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.1872, allocations: 0 / 0.8339 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of Templates: time 0.002763/0.19, allocations: 0.7678 MB / 0.8347 GB, free: 8.926 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)