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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.9 MB / 266.9 MB, free: 11 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.0009944/0.0009944, allocations: 179 kB / 326.5 MB, free: 2.215 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.501/1.501, allocations: 205.4 MB / 0.5775 GB, free: 20.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.000932/0.000932, allocations: 99.03 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 9.875 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006078/0.2293, allocations: 325.2 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.2295, allocations: 56.48 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.2295, allocations: 4 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.2295, allocations: 0 / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.2296, allocations: 0 / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2298, allocations: 8 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.2298, allocations: 27.91 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.2299, allocations: 4 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.2299, allocations: 11.98 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.626e-05/0.2299, allocations: 7.984 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.23, allocations: 4 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.23, allocations: 12 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.23, allocations: 15.97 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2301, allocations: 25.7 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.345e-05/0.2301, allocations: 23.91 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2301, allocations: 0 / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2302, allocations: 0 / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2302, allocations: 4 kB / 0.9007 GB, free: 63.28 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.0002133/0.2304, allocations: 331.4 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2304, allocations: 8.031 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.2305, allocations: 38.56 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.2305, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.2305, allocations: 163.3 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2306, allocations: 4 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2306, allocations: 7.984 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2307, allocations: 65.55 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2307, allocations: 7.938 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2307, allocations: 4 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2307, allocations: 0 / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2309, allocations: 103.9 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.231, allocations: 181.5 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/0.2311, allocations: 75.84 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.2313, allocations: 397.9 kB / 0.902 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2314, allocations: 34.56 kB / 0.902 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2314, allocations: 3.938 kB / 0.902 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0001984/0.2316, allocations: 117.6 kB / 0.9021 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.2316, allocations: 55.39 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.126e-05/0.2316, allocations: 101.8 kB / 0.9023 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2316, allocations: 25.7 kB / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.2317, allocations: 80.33 kB / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2317, allocations: 19.75 kB / 0.9024 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.2317, allocations: 0 / 0.9024 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2317, allocations: 322.8 kB / 0.9027 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.2318, allocations: 19.98 kB / 0.9027 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.2318, allocations: 23.92 kB / 0.9028 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.2319, allocations: 23.98 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2319, allocations: 3.953 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001101/0.232, allocations: 97.52 kB / 0.9029 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.232, allocations: 4 kB / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.232, allocations: 0 / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.232, allocations: 0 / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.2321, allocations: 27.98 kB / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2321, allocations: 0 / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.2322, allocations: 4 kB / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2322, allocations: 3.938 kB / 0.9029 GB, free: 60.66 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.0001066/0.2323, allocations: 127.5 kB / 0.903 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.2323, allocations: 11.86 kB / 0.903 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.2325, allocations: 122.5 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2325, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2325, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2325, allocations: 4 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.876e-05/0.2326, allocations: 181.5 kB / 0.9033 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2326, allocations: 0 / 0.9033 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.2327, allocations: 23.94 kB / 0.9034 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2327, allocations: 7.875 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2327, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2327, allocations: 4 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2327, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2328, allocations: 125.5 kB / 0.9035 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2329, allocations: 81.02 kB / 0.9036 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2329, allocations: 11.95 kB / 0.9036 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.2329, allocations: 0 / 0.9036 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.2329, allocations: 7.984 kB / 0.9036 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.233, allocations: 4 kB / 0.9036 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.151e-05/0.233, allocations: 75.28 kB / 0.9037 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.233, allocations: 4 kB / 0.9037 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000182/0.2332, allocations: 12 kB / 0.9037 GB, free: 59.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: 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 (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.0003399/0.2335, allocations: 0.667 MB / 0.9043 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2336, allocations: 63.91 kB / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2336, allocations: 4 kB / 0.9044 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.2337, allocations: 27.98 kB / 0.9044 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.214e-05/0.2338, allocations: 7.953 kB / 0.9044 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2341, allocations: 180.2 kB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2342, allocations: 0.6917 MB / 0.9053 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.2343, allocations: 47.78 kB / 0.9053 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2344, allocations: 19.44 kB / 0.9053 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2344, allocations: 0 / 0.9053 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.2455, allocations: 1.33 MB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/0.2456, allocations: 197.1 kB / 0.9068 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.693, allocations: 0 / 0.9068 GB, free: 56.58 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)