Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.201/2.201, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001305/0.001305, allocations: 183.3 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008718/0.0008716, allocations: 91.73 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004786, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007968/0.2067, allocations: 318.4 kB / 0.8998 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.207, allocations: 51.89 kB / 0.8999 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.2071, allocations: 4 kB / 0.8999 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.2071, allocations: 3.984 kB / 0.8999 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.2071, allocations: 0 / 0.8999 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2074, allocations: 11.94 kB / 0.8999 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.2075, allocations: 27.97 kB / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.2075, allocations: 1.125 kB / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.2076, allocations: 11.98 kB / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.2076, allocations: 15.92 kB / 0.8999 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2076, allocations: 8 kB / 0.8999 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.2077, allocations: 15.98 kB / 0.9 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.2078, allocations: 7.984 kB / 0.9 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2078, allocations: 37.64 kB / 0.9 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.2079, allocations: 19.97 kB / 0.9 GB, free: 65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2079, allocations: 0 / 0.9 GB, free: 65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2079, allocations: 0 / 0.9 GB, free: 65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2079, allocations: 0 / 0.9 GB, free: 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.0002767/0.2082, allocations: 327.5 kB / 0.9003 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2083, allocations: 8.031 kB / 0.9003 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2083, allocations: 8.938 kB / 0.9004 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.2084, allocations: 164.3 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2084, allocations: 384 / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2084, allocations: 4.375 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2086, allocations: 70.14 kB / 0.9006 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2086, allocations: 192 / 0.9006 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2087, allocations: 11.94 kB / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2087, allocations: 0 / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2089, allocations: 103.9 kB / 0.9007 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.209, allocations: 185.7 kB / 0.9009 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.2092, allocations: 66.55 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.2093, allocations: 32.83 kB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.2096, allocations: 401.5 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2096, allocations: 34.5 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.2096, allocations: 4 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003153/0.21, allocations: 113.9 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.21, allocations: 59.41 kB / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.943e-05/0.21, allocations: 97.75 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2101, allocations: 29.7 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.2101, allocations: 80.14 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.2101, allocations: 19.75 kB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.2102, allocations: 0 / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.2102, allocations: 318.8 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.2103, allocations: 19.98 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.2104, allocations: 19.98 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.2105, allocations: 27.94 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2105, allocations: 4 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001945/0.2107, allocations: 94.16 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2107, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2107, allocations: 4 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2107, allocations: 3.938 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2109, allocations: 19.98 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2109, allocations: 4 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.211, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.211, allocations: 4 kB / 0.9023 GB, free: 62.39 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.2112, allocations: 132 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.2112, allocations: 3.906 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.2115, allocations: 125.6 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2115, allocations: 3.938 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2115, allocations: 0 / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.2116, allocations: 92.89 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2116, allocations: 4 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.2116, allocations: 0 / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2117, allocations: 11.98 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002063/0.2119, allocations: 184.8 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002145/0.2121, allocations: 266.7 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.105e-05/0.2122, allocations: 31.98 kB / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.606e-05/0.2122, allocations: 75.28 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Backend: time 7.31e-07/0.2122, allocations: 0 / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.2128, allocations: 122.3 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000335/0.2131, allocations: 0.5702 MB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003624/0.2168, allocations: 0.7576 MB / 0.9046 GB, free: 59.92 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)