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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.353/1.353, allocations: 252 MB / 267 MB, free: 10.95 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.0009439/0.000944, allocations: 186 kB / 326.6 MB, free: 2.188 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.811/1.811, allocations: 205.4 MB / 0.5777 GB, free: 20.18 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.0008054/0.0008054, allocations: 93.03 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003616, allocations: 12.41 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.288, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001838/0.29, allocations: 1.252 MB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.2904, allocations: 124.6 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.2904, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.2905, allocations: 7.922 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.2906, allocations: 4 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2909, allocations: 27.91 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.291, allocations: 31.92 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2911, allocations: 11.98 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.2911, allocations: 8 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.2912, allocations: 19.91 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2912, allocations: 4 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.2913, allocations: 15.98 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2913, allocations: 7.938 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.2914, allocations: 25.7 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.032e-05/0.2915, allocations: 27.94 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2915, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2915, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2915, allocations: 0 / 0.9018 GB, free: 62.18 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.0004398/0.2919, allocations: 354 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.292, allocations: 8.031 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.292, allocations: 30.56 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.2921, allocations: 7.906 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.2922, allocations: 182.9 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2922, allocations: 8 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2922, allocations: 0 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2924, allocations: 69.67 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2924, allocations: 0 / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2924, allocations: 0 / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2925, allocations: 0 / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.2927, allocations: 59.95 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.293, allocations: 280.7 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.2933, allocations: 62.53 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2935, allocations: 32.91 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.2937, allocations: 397.5 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.2937, allocations: 30.56 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2937, allocations: 0 / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003829/0.2941, allocations: 117.6 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.2941, allocations: 59.3 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.2942, allocations: 109.8 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2942, allocations: 25.7 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.2943, allocations: 92.05 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.2943, allocations: 15.83 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.2943, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.2944, allocations: 314.8 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.2945, allocations: 19.98 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.2946, allocations: 31.97 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.2946, allocations: 23.98 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2947, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002043/0.2949, allocations: 93.58 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2949, allocations: 4 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2949, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2949, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.295, allocations: 11.98 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.295, allocations: 3.953 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.2951, allocations: 8 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2951, allocations: 3.938 kB / 0.9042 GB, free: 59.46 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.1e-05/0.2952, allocations: 121.8 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2952, allocations: 3.906 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.2955, allocations: 93.81 kB / 0.9044 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2955, allocations: 4.047 kB / 0.9044 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2955, allocations: 3.984 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2955, allocations: 7.953 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2956, allocations: 169.7 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2956, allocations: 4 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.2957, allocations: 11.98 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2957, allocations: 0 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2957, allocations: 0 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2958, allocations: 0 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2958, allocations: 4 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.296, allocations: 183.5 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.296, allocations: 85.02 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2961, allocations: 4 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.2961, allocations: 11.98 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.2962, allocations: 4 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2962, allocations: 7.922 kB / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.2962, allocations: 87.28 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2963, allocations: 0 / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002/0.2965, allocations: 8 kB / 0.905 GB, free: 58.55 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.0004683/0.2969, allocations: 0.7241 MB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2972, allocations: 55.95 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2972, allocations: 7.938 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.2973, allocations: 27.97 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2975, allocations: 4 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.2983, allocations: 466.2 kB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2985, allocations: 0.6809 MB / 0.9069 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.2986, allocations: 4 kB / 0.9069 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.2986, allocations: 15.42 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2986, allocations: 4 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.3132, allocations: 1.4 MB / 0.9083 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.3135, allocations: 202.2 kB / 0.9085 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.955, allocations: 0 / 0.9085 GB, free: 54.97 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)