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.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001027/0.001027, allocations: 180.8 kB / 326.5 MB, free: 2.699 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.824/1.824, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008508/0.0008507, allocations: 87.88 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12.98 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007523/0.2174, allocations: 331.2 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.2177, allocations: 63.78 kB / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.2178, allocations: 0 / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.2178, allocations: 0 / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.2178, allocations: 0 / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2181, allocations: 15.92 kB / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.2182, allocations: 31.97 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2183, allocations: 4 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.2183, allocations: 15.92 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.803e-05/0.2183, allocations: 7.984 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2183, allocations: 4 kB / 0.8972 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.2184, allocations: 15.98 kB / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.2185, allocations: 11.98 kB / 0.8972 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.2185, allocations: 15.92 kB / 0.8972 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.696e-05/0.2186, allocations: 15.98 kB / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2186, allocations: 4 kB / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2186, allocations: 4 kB / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2186, allocations: 3.938 kB / 0.8973 GB, free: 67.63 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.0002508/0.2189, allocations: 331.7 kB / 0.8976 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2189, allocations: 8.031 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.219, allocations: 8.922 kB / 0.8976 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.135e-05/0.219, allocations: 164.4 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2191, allocations: 4.312 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2191, allocations: 4.375 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2192, allocations: 62.23 kB / 0.8978 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2192, allocations: 4.188 kB / 0.8978 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2193, allocations: 7.938 kB / 0.8978 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2193, allocations: 3.984 kB / 0.8978 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.2194, allocations: 99.88 kB / 0.8979 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.2196, allocations: 177.5 kB / 0.8981 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.2197, allocations: 78.53 kB / 0.8982 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.2197, allocations: 29 kB / 0.8982 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.22, allocations: 401.5 kB / 0.8986 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.22, allocations: 42.55 kB / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.22, allocations: 0 / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002206/0.2202, allocations: 113.6 kB / 0.8987 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.2203, allocations: 51.41 kB / 0.8988 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.315e-05/0.2203, allocations: 93.77 kB / 0.8989 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2203, allocations: 37.64 kB / 0.8989 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.2203, allocations: 84.08 kB / 0.899 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2204, allocations: 19.8 kB / 0.899 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2204, allocations: 21.72 kB / 0.899 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.2205, allocations: 315.5 kB / 0.8993 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.2205, allocations: 19.98 kB / 0.8993 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.2205, allocations: 27.97 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.2206, allocations: 52.84 kB / 0.8994 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2206, allocations: 4 kB / 0.8994 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001129/0.2207, allocations: 89.52 kB / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2208, allocations: 14.8 kB / 0.8995 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2208, allocations: 3.938 kB / 0.8995 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2208, allocations: 4 kB / 0.8995 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.2209, allocations: 19.94 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2209, allocations: 0 / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.2209, allocations: 7.938 kB / 0.8996 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.221, allocations: 7.984 kB / 0.8996 GB, free: 64.95 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 0.0001027/0.2211, allocations: 117.8 kB / 0.8997 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2211, allocations: 3.906 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.2213, allocations: 138.2 kB / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2213, allocations: 0 / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2213, allocations: 4 kB / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2213, allocations: 0 / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.39e-05/0.2214, allocations: 177.6 kB / 0.9 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2214, allocations: 3.938 kB / 0.9 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.2215, allocations: 12 kB / 0.9 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2215, allocations: 7.938 kB / 0.9 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.2215, allocations: 7.984 kB / 0.9 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2215, allocations: 4 kB / 0.9 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2215, allocations: 0 / 0.9 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2216, allocations: 125 kB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.2217, allocations: 88.97 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2217, allocations: 0 / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.2217, allocations: 8 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2217, allocations: 7.984 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.2218, allocations: 0 / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.2218, allocations: 79.28 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2218, allocations: 0 / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001908/0.222, allocations: 16 kB / 0.9003 GB, free: 64.06 MB / 0.6042 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.0002046/0.2222, allocations: 111.2 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.2223, allocations: 63.89 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2223, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.2224, allocations: 35.92 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2225, allocations: 17.91 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.2228, allocations: 180.2 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2229, allocations: 0.6823 MB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.2229, allocations: 19.44 kB / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2229, allocations: 0 / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.00211/0.2251, allocations: 0.9437 MB / 0.9023 GB, free: 61.96 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)