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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009314/0.0009314, allocations: 174.5 kB / 327.3 MB, free: 2.234 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.764/1.764, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0007373/0.0007375, allocations: 90.3 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 15.62 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002143/0.2245, allocations: 1.248 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000374/0.2249, allocations: 128.5 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2249, allocations: 0 / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.2249, allocations: 3.938 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.225, allocations: 0 / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.2253, allocations: 27.91 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.2254, allocations: 35.91 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2255, allocations: 8 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2255, allocations: 15.98 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.2256, allocations: 11.92 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2256, allocations: 0 / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.2257, allocations: 15.98 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.2257, allocations: 11.92 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.2258, allocations: 29.7 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.2259, allocations: 27.95 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2259, allocations: 4 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2259, allocations: 0 / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2259, allocations: 0 / 0.9024 GB, free: 62.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005756/0.2265, allocations: 347.6 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.2265, allocations: 12.03 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.2266, allocations: 3.906 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2267, allocations: 174.9 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2268, allocations: 7.938 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2268, allocations: 4 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.227, allocations: 69.59 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.227, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.227, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2271, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.2273, allocations: 59.95 kB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.2276, allocations: 276.8 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.228, allocations: 74.53 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.2281, allocations: 28.84 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.2283, allocations: 397.5 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2283, allocations: 42.55 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2283, allocations: 4 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003995/0.2287, allocations: 109.6 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.2288, allocations: 59.36 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.2288, allocations: 109.8 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.2288, allocations: 25.7 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2289, allocations: 88.05 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.2289, allocations: 7.938 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.2289, allocations: 0 / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.229, allocations: 310.8 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.2291, allocations: 31.97 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.2292, allocations: 23.98 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.2293, allocations: 23.97 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2293, allocations: 0 / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002135/0.2295, allocations: 89.56 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2295, allocations: 8 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2295, allocations: 320 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2295, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.2296, allocations: 15.92 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2296, allocations: 4 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.2297, allocations: 19.94 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2297, allocations: 3.984 kB / 0.9047 GB, free: 59.67 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: 2 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.2298, allocations: 109.8 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.2298, allocations: 7.938 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.2301, allocations: 101.5 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2301, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2301, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2301, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2302, allocations: 165.6 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2303, allocations: 0 / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.2303, allocations: 19.86 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2303, allocations: 8 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2304, allocations: 7.984 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2304, allocations: 0 / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2304, allocations: 0 / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.2306, allocations: 179.5 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.2306, allocations: 81.11 kB / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2307, allocations: 7.984 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.2307, allocations: 4 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.2308, allocations: 12.41 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.2308, allocations: 0 / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.2308, allocations: 87.27 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2309, allocations: 0 / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002009/0.2311, allocations: 23.91 kB / 0.9055 GB, free: 58.77 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.2312, allocations: 103.2 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.2315, allocations: 59.94 kB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2315, allocations: 4 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.2316, allocations: 27.97 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.2318, allocations: 11.3 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.2321, allocations: 154.2 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.2323, allocations: 0.6809 MB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.2323, allocations: 11.44 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.2323, allocations: 0 / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002021/0.2343, allocations: 0.7913 MB / 0.9072 GB, free: 56.87 MB / 0.6042 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)