Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7756/0.7756, allocations: 127.4 MB / 134.9 MB, free: 3.438 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.7 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.2 MB / 399.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 81.11 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.354e-05, allocations: 7.25 kB / 0.5467 GB, free: 95.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1726, allocations: 76.77 MB / 0.6216 GB, free: 42.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.3087, allocations: 101.2 MB / 0.7204 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.3092, allocations: 75.95 kB / 0.7205 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002308/0.3115, allocations: 0.9088 MB / 0.7214 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3115, allocations: 0 / 0.7214 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3115, allocations: 0 / 0.7214 GB, free: 4.621 MB / 0.4948 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.0002788/0.3118, allocations: 332.4 kB / 0.7217 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3118, allocations: 12.02 kB / 0.7217 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3119, allocations: 7.953 kB / 0.7217 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.312, allocations: 163 kB / 0.7219 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.312, allocations: 0 / 0.7219 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.312, allocations: 4 kB / 0.7219 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001714/0.3122, allocations: 107.8 kB / 0.722 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.874e-05/0.3123, allocations: 57.67 kB / 0.7221 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3123, allocations: 4 kB / 0.7221 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3124, allocations: 0 / 0.7221 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3124, allocations: 0 / 0.7221 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3125, allocations: 146.1 kB / 0.7222 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.3126, allocations: 70.55 kB / 0.7223 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.3127, allocations: 21.19 kB / 0.7223 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/0.313, allocations: 413.4 kB / 0.7227 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.313, allocations: 42.5 kB / 0.7227 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.313, allocations: 0 / 0.7227 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003078/0.3134, allocations: 81.61 kB / 0.7228 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.3134, allocations: 55.41 kB / 0.7229 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.3135, allocations: 96.89 kB / 0.7229 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3135, allocations: 25.7 kB / 0.723 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.3135, allocations: 80.33 kB / 0.723 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3135, allocations: 15.75 kB / 0.7231 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.3136, allocations: 4 kB / 0.7231 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3137, allocations: 318.8 kB / 0.7234 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.3137, allocations: 15.98 kB / 0.7234 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.3137, allocations: 16 kB / 0.7234 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3139, allocations: 31.92 kB / 0.7234 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3139, allocations: 7.938 kB / 0.7234 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002142/0.3141, allocations: 93.44 kB / 0.7235 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3142, allocations: 8.625 kB / 0.7235 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3142, allocations: 0 / 0.7235 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3142, allocations: 4 kB / 0.7235 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.3143, allocations: 19.98 kB / 0.7236 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3143, allocations: 0 / 0.7236 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.3143, allocations: 0 / 0.7236 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3143, allocations: 8 kB / 0.7236 GB, free: 2.113 MB / 0.4948 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 () * 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 8.32e-05/0.3144, allocations: 108.9 kB / 0.7237 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002145/0.3146, allocations: 97.44 kB / 0.7238 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.3147, allocations: 0 / 0.7238 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.315, allocations: 126.1 kB / 0.7239 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.315, allocations: 3.984 kB / 0.7239 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.315, allocations: 0 / 0.7239 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.315, allocations: 0 / 0.7239 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.3151, allocations: 146.2 kB / 0.724 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3151, allocations: 0 / 0.724 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.3152, allocations: 23.92 kB / 0.724 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3152, allocations: 0 / 0.724 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3152, allocations: 0 / 0.724 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3152, allocations: 8 kB / 0.7241 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3152, allocations: 0 / 0.7241 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.3155, allocations: 129.9 kB / 0.7242 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3155, allocations: 81.11 kB / 0.7243 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3155, allocations: 0 / 0.7243 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.3155, allocations: 3.984 kB / 0.7243 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3156, allocations: 4 kB / 0.7243 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3156, allocations: 15.98 kB / 0.7243 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.3156, allocations: 75.28 kB / 0.7244 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3156, allocations: 0 / 0.7244 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001831/0.3158, allocations: 12 kB / 0.7244 GB, free: 1.207 MB / 0.4948 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 () * 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.0005574/0.3164, allocations: 0.6852 MB / 0.725 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.3165, allocations: 55.86 kB / 0.7251 GB, free: 448 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3165, allocations: 0 / 0.7251 GB, free: 448 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.3166, allocations: 27.98 kB / 0.7251 GB, free: 420 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.3167, allocations: 4.938 kB / 0.7251 GB, free: 416 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.317, allocations: 125.8 kB / 0.7252 GB, free: 252 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3173, allocations: 0.6884 MB / 0.7259 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.457e-05/0.3174, allocations: 43.88 kB / 0.726 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.3174, allocations: 19.44 kB / 0.726 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.3174, allocations: 0 / 0.726 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.3381, allocations: 1.059 MB / 0.727 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.3384, allocations: 153.7 kB / 0.7272 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.791, allocations: 3 kB / 0.7272 GB, free: 14.23 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)