Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005333/0.005333, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001486/0.001486, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.228/1.228, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.379/1.379, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001243/0.001243, allocations: 67.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1766, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001418/0.178, allocations: 0.5865 MB / 0.8287 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.1783, allocations: 55.8 kB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.1783, allocations: 0 / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1783, allocations: 0 / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.1784, allocations: 0 / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1786, allocations: 19.92 kB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.1787, allocations: 35.89 kB / 0.8288 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.1787, allocations: 4 kB / 0.8288 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.1788, allocations: 4 kB / 0.8288 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.1788, allocations: 23.97 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1788, allocations: 0 / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.1789, allocations: 15.98 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.1789, allocations: 12 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1789, allocations: 19.84 kB / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.654e-05/0.179, allocations: 35.89 kB / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.179, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1791, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1791, allocations: 0 / 0.8289 GB, free: 15.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002946/0.1794, allocations: 339.4 kB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1794, allocations: 16.03 kB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1794, allocations: 0.9375 kB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.348e-05/0.1795, allocations: 168.3 kB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1795, allocations: 4.375 kB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1796, allocations: 8.375 kB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1797, allocations: 58.58 kB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1797, allocations: 192 / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1797, allocations: 3.938 kB / 0.8294 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1797, allocations: 4 kB / 0.8294 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1799, allocations: 99.86 kB / 0.8295 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.18, allocations: 177.5 kB / 0.8297 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1801, allocations: 82.52 kB / 0.8298 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.1802, allocations: 32.84 kB / 0.8298 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.1805, allocations: 397.5 kB / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.1805, allocations: 30.56 kB / 0.8302 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1805, allocations: 0 / 0.8302 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002234/0.1807, allocations: 125.8 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1808, allocations: 55.62 kB / 0.8304 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.569e-05/0.1808, allocations: 93.77 kB / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1808, allocations: 33.64 kB / 0.8305 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.101e-05/0.1809, allocations: 80.14 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1809, allocations: 23.73 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1809, allocations: 37.7 kB / 0.8307 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.181, allocations: 314.8 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1811, allocations: 23.98 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.1811, allocations: 28.03 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.1812, allocations: 52.84 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1812, allocations: 0 / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001219/0.1814, allocations: 101.4 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1814, allocations: 8 kB / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1814, allocations: 3.938 kB / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1814, allocations: 0 / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.1815, allocations: 19.98 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1815, allocations: 0 / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.1815, allocations: 11.94 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1816, allocations: 4 kB / 0.8312 GB, free: 12.68 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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.000111/0.1817, allocations: 121.8 kB / 0.8313 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1817, allocations: 7.844 kB / 0.8313 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1819, allocations: 121.5 kB / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1819, allocations: 3.938 kB / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1819, allocations: 0 / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1819, allocations: 0 / 0.8314 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.182, allocations: 177.7 kB / 0.8316 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.182, allocations: 0 / 0.8316 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.1821, allocations: 16 kB / 0.8316 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1821, allocations: 11.92 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1821, allocations: 4 kB / 0.8316 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1821, allocations: 3.938 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1821, allocations: 0 / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.1823, allocations: 117 kB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.1823, allocations: 92.97 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1823, allocations: 0 / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.1824, allocations: 11.94 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1824, allocations: 7.984 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1824, allocations: 3.938 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.1824, allocations: 75.28 kB / 0.8319 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1824, allocations: 0 / 0.8319 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000182/0.1826, allocations: 16 kB / 0.832 GB, free: 11.79 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001524/0.1828, allocations: 123.2 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1829, allocations: 56.52 kB / 0.8321 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1829, allocations: 4 kB / 0.8321 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.183, allocations: 31.92 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1831, allocations: 8.438 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.1833, allocations: 155.9 kB / 0.8323 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1835, allocations: 0.6883 MB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.358e-05/0.1836, allocations: 39.8 kB / 0.833 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1837, allocations: 23.38 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1837, allocations: 0 / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.00234/0.186, allocations: 0.6056 MB / 0.8336 GB, free: 10.01 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)