Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4622/0.4622, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 110.3 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.491e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3688, allocations: 72.31 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4811, allocations: 100.8 MB / 0.6587 GB, free: 3.508 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.4813, allocations: 73.11 kB / 0.6588 GB, free: 3.438 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001794/0.4832, allocations: 0.8384 MB / 0.6596 GB, free: 2.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4832, allocations: 0 / 0.6596 GB, free: 2.605 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4832, allocations: 0 / 0.6596 GB, free: 2.605 MB / 474.7 MB 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.0002575/0.4835, allocations: 330.5 kB / 0.6599 GB, free: 2.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4835, allocations: 23.86 kB / 0.66 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.4835, allocations: 30.56 kB / 0.66 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.4836, allocations: 7.953 kB / 0.66 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.4837, allocations: 167.1 kB / 0.6602 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4837, allocations: 2.25 kB / 0.6602 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4837, allocations: 4 kB / 0.6602 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4838, allocations: 63.64 kB / 0.6602 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.4839, allocations: 0 / 0.6602 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4839, allocations: 8 kB / 0.6602 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4839, allocations: 3.984 kB / 0.6602 GB, free: 1.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.484, allocations: 107.8 kB / 0.6603 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.4842, allocations: 169.5 kB / 0.6605 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.4843, allocations: 74.55 kB / 0.6606 GB, free: 1.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.4843, allocations: 28.86 kB / 0.6606 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.4846, allocations: 405.5 kB / 0.661 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4847, allocations: 34.56 kB / 0.661 GB, free: 0.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4847, allocations: 0 / 0.661 GB, free: 0.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001981/0.4849, allocations: 93.88 kB / 0.6611 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.4849, allocations: 51.41 kB / 0.6612 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/0.485, allocations: 94.48 kB / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.485, allocations: 29.7 kB / 0.6613 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.485, allocations: 80.33 kB / 0.6614 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.485, allocations: 19.7 kB / 0.6614 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.485, allocations: 7.938 kB / 0.6614 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.4851, allocations: 318.8 kB / 0.6617 GB, free: 196 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.4852, allocations: 23.98 kB / 0.6617 GB, free: 172 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.4852, allocations: 17.75 kB / 0.6617 GB, free: 156 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.4853, allocations: 27.97 kB / 0.6617 GB, free: 128 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4853, allocations: 0 / 0.6617 GB, free: 128 kB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000127/0.4854, allocations: 89.61 kB / 0.6618 GB, free: 32 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4854, allocations: 7.938 kB / 0.6618 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4854, allocations: 0 / 0.6618 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4855, allocations: 0 / 0.6618 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.4856, allocations: 19.98 kB / 0.6619 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4856, allocations: 4 kB / 0.6619 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.4856, allocations: 15.17 kB / 0.6619 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.4856, allocations: 0 / 0.6619 GB, free: 15.98 MB / 490.7 MB 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 () * 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 7.375e-05/0.4857, allocations: 116.8 kB / 0.662 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.4857, allocations: 3.984 kB / 0.662 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.4859, allocations: 130.8 kB / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.486, allocations: 0 / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.486, allocations: 0 / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.486, allocations: 0 / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.4861, allocations: 181.5 kB / 0.6623 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4861, allocations: 4 kB / 0.6623 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.4862, allocations: 12 kB / 0.6623 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.4862, allocations: 4 kB / 0.6623 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4862, allocations: 7.984 kB / 0.6623 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4862, allocations: 0 / 0.6623 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4862, allocations: 0 / 0.6623 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.4864, allocations: 125.3 kB / 0.6624 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.4864, allocations: 81.09 kB / 0.6625 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4864, allocations: 4 kB / 0.6625 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.4864, allocations: 4 kB / 0.6625 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.4865, allocations: 7.984 kB / 0.6625 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4865, allocations: 0 / 0.6625 GB, free: 15.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.311e-05/0.4865, allocations: 79.28 kB / 0.6626 GB, free: 15.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4865, allocations: 0 / 0.6626 GB, free: 15.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.4867, allocations: 27.94 kB / 0.6626 GB, free: 15.12 MB / 490.7 MB 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 () * 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.0004844/0.4872, allocations: 0.6772 MB / 0.6633 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.4874, allocations: 59.91 kB / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4874, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.4874, allocations: 39.92 kB / 0.6634 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.575e-05/0.4875, allocations: 4.938 kB / 0.6634 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.4879, allocations: 134.6 kB / 0.6635 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4881, allocations: 0.6887 MB / 0.6642 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.4882, allocations: 42.19 kB / 0.6642 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.4882, allocations: 15.44 kB / 0.6643 GB, free: 13.38 MB / 490.7 MB Notification: Performance of SimCode: time 2.675e-06/0.4882, allocations: 4 kB / 0.6643 GB, free: 13.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.5003, allocations: 1.336 MB / 0.6656 GB, free: 12.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5005, allocations: 159.1 kB / 0.6657 GB, free: 11.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.307/1.807, allocations: 0 / 0.6657 GB, free: 11.97 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)