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/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 176.9 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006632/0.0006633, allocations: 96.97 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 11.31 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007193/0.1743, allocations: 331.2 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002702/0.1745, allocations: 67.83 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.1746, allocations: 0 / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.1746, allocations: 0 / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1746, allocations: 0 / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1749, allocations: 15.92 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.1749, allocations: 27.97 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.175, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.175, allocations: 15.94 kB / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.175, allocations: 15.97 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1751, allocations: 4 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.1751, allocations: 11.98 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1752, allocations: 12 kB / 0.8972 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1752, allocations: 15.92 kB / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.1753, allocations: 35.89 kB / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1753, allocations: 0 / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1753, allocations: 0 / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1753, allocations: 3.938 kB / 0.8973 GB, free: 67.65 MB / 0.6042 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.0002447/0.1756, allocations: 331.7 kB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1756, allocations: 11.97 kB / 0.8976 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1757, allocations: 4.938 kB / 0.8976 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.1757, allocations: 164.4 kB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1757, allocations: 4.375 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1758, allocations: 4.312 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1759, allocations: 66.22 kB / 0.8978 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1759, allocations: 192 / 0.8978 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1759, allocations: 7.938 kB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1759, allocations: 0 / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.176, allocations: 103.9 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1762, allocations: 177.5 kB / 0.8981 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.1763, allocations: 78.48 kB / 0.8982 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.1763, allocations: 28.84 kB / 0.8982 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.1765, allocations: 405.8 kB / 0.8986 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.1766, allocations: 34.5 kB / 0.8986 GB, free: 66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1766, allocations: 0 / 0.8986 GB, free: 66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0001868/0.1768, allocations: 109.6 kB / 0.8987 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.23e-05/0.1768, allocations: 59.41 kB / 0.8988 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.988e-05/0.1768, allocations: 101.8 kB / 0.8989 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.1768, allocations: 29.7 kB / 0.8989 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-06/0.1768, allocations: 80.14 kB / 0.899 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1769, allocations: 11.81 kB / 0.899 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1769, allocations: 21.7 kB / 0.899 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.1769, allocations: 323.5 kB / 0.8993 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.177, allocations: 19.98 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.177, allocations: 23.92 kB / 0.8994 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.1771, allocations: 61.48 kB / 0.8994 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1771, allocations: 4 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.842e-05/0.1772, allocations: 93.52 kB / 0.8995 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.1772, allocations: 4 kB / 0.8995 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1772, allocations: 3.938 kB / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1772, allocations: 3.938 kB / 0.8996 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.1773, allocations: 23.92 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1773, allocations: 0 / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.1773, allocations: 15.92 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1774, allocations: 0 / 0.8996 GB, free: 64.97 MB / 0.6042 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 9.309e-05/0.1775, allocations: 128.7 kB / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1775, allocations: 11.84 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.1776, allocations: 121.5 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1777, allocations: 0 / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1777, allocations: 0 / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.1777, allocations: 81.11 kB / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1777, allocations: 7.984 kB / 0.8999 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.1777, allocations: 4 kB / 0.8999 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1778, allocations: 4 kB / 0.8999 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001151/0.1779, allocations: 180.8 kB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001279/0.178, allocations: 278.5 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.251e-05/0.1781, allocations: 27.97 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.158e-05/0.1781, allocations: 79.28 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of Backend: time 3.71e-07/0.1781, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1785, allocations: 129.3 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002448/0.1787, allocations: 0.5664 MB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.002219/0.181, allocations: 0.7888 MB / 0.9019 GB, free: 62.47 MB / 0.6042 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)