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.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001289/0.001289, allocations: 178.4 kB / 326.5 MB, free: 2.246 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.292/2.292, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008378/0.0008378, allocations: 90.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 11.84 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2603, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.4952, allocations: 131 MB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.4956, allocations: 79.94 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002698/0.4983, allocations: 0.8203 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4983, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4983, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 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.0003668/0.4987, allocations: 347.2 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4987, allocations: 8.031 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.4988, allocations: 30.56 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4988, allocations: 4 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.499, allocations: 167 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.499, allocations: 8 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.499, allocations: 4 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4992, allocations: 65.59 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4993, allocations: 3.938 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4993, allocations: 4 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4993, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.4995, allocations: 107.9 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.4998, allocations: 169.5 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.4999, allocations: 74.48 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.5003, allocations: 409.5 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5004, allocations: 30.89 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.526e-05/0.5004, allocations: 4 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0003398/0.5008, allocations: 117.5 kB / 1.03 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.5008, allocations: 51.41 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.5009, allocations: 96.89 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5009, allocations: 29.7 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.501, allocations: 80.33 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.501, allocations: 15.75 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5011, allocations: 4 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5012, allocations: 310.8 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.5013, allocations: 23.98 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.5014, allocations: 19.98 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.5015, allocations: 27.98 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5015, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002155/0.5017, allocations: 102.1 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5017, allocations: 4 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5017, allocations: 0 / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5018, allocations: 0 / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.5019, allocations: 23.94 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5019, allocations: 3.984 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.502, allocations: 8 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.502, allocations: 0 / 1.031 GB, free: 9.137 MB / 0.6823 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.0001287/0.5021, allocations: 121.8 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5022, allocations: 15.84 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.5025, allocations: 133.9 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5025, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5025, allocations: 4 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5026, allocations: 0 / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.5028, allocations: 177.5 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5028, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.5029, allocations: 20 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.5029, allocations: 7.891 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5029, allocations: 11.92 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.503, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.503, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5032, allocations: 121.4 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.5033, allocations: 85 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5033, allocations: 7.891 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.5033, allocations: 8 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.5034, allocations: 7.984 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5034, allocations: 0 / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.5034, allocations: 75.28 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5034, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003109/0.5038, allocations: 20 kB / 1.032 GB, free: 8.234 MB / 0.6823 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.0006788/0.5045, allocations: 0.6716 MB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.5046, allocations: 55.95 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5047, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.5047, allocations: 39.92 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.5049, allocations: 7.953 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.5054, allocations: 184.3 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5057, allocations: 0.6878 MB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.5058, allocations: 39.8 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.5059, allocations: 19.44 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/0.5059, allocations: 0 / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.5206, allocations: 1.331 MB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.521, allocations: 200.5 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.012, allocations: 0 / 1.035 GB, free: 5.035 MB / 0.6823 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)