Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7723/0.7723, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001133/0.001133, allocations: 181.1 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.631/1.631, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0009242/0.0009242, allocations: 95.06 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.553e-05, allocations: 6 kB / 0.5467 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.157, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.2909, allocations: 102.2 MB / 0.7215 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.2912, allocations: 75.95 kB / 0.7215 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002955/0.2942, allocations: 1.058 MB / 0.7226 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2942, allocations: 3.938 kB / 0.7226 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2942, allocations: 0 / 0.7226 GB, free: 3.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003847/0.2946, allocations: 354.5 kB / 0.7229 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2946, allocations: 12.03 kB / 0.7229 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2947, allocations: 7.859 kB / 0.7229 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2948, allocations: 167 kB / 0.7231 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2949, allocations: 0 / 0.7231 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2949, allocations: 0 / 0.7231 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.79e-05/0.295, allocations: 23.94 kB / 0.7231 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.2951, allocations: 57.67 kB / 0.7232 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2951, allocations: 0 / 0.7232 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2951, allocations: 0 / 0.7232 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2951, allocations: 0 / 0.7232 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.2954, allocations: 249.4 kB / 0.7234 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2957, allocations: 50.5 kB / 0.7235 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.2957, allocations: 16.92 kB / 0.7235 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.296, allocations: 401.6 kB / 0.7239 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.296, allocations: 30.56 kB / 0.7239 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2961, allocations: 0 / 0.7239 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000181/0.2962, allocations: 53.55 kB / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2963, allocations: 55.41 kB / 0.724 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.2964, allocations: 89 kB / 0.7241 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2964, allocations: 33.7 kB / 0.7241 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2964, allocations: 88.08 kB / 0.7242 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2965, allocations: 3.906 kB / 0.7242 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.2965, allocations: 0 / 0.7242 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2966, allocations: 322.8 kB / 0.7245 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.2966, allocations: 10.09 kB / 0.7245 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.2966, allocations: 8 kB / 0.7245 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.2967, allocations: 8 kB / 0.7245 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2967, allocations: 0 / 0.7245 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.018e-05/0.2968, allocations: 53.59 kB / 0.7246 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2968, allocations: 9.719 kB / 0.7246 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2968, allocations: 0 / 0.7246 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2968, allocations: 3.984 kB / 0.7246 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.2969, allocations: 8 kB / 0.7246 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.297, allocations: 7.953 kB / 0.7246 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.297, allocations: 8.172 kB / 0.7246 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.297, allocations: 0 / 0.7246 GB, free: 1.133 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: 2 (falFac.y,falFac.k) * Number of discrete 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.921e-05/0.2971, allocations: 113 kB / 0.7247 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001119/0.2972, allocations: 53.62 kB / 0.7248 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2973, allocations: 4 kB / 0.7248 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2974, allocations: 61.72 kB / 0.7248 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2974, allocations: 3.953 kB / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2974, allocations: 0 / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2974, allocations: 0 / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2976, allocations: 150.1 kB / 0.725 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2976, allocations: 3.938 kB / 0.725 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.2977, allocations: 15.98 kB / 0.725 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2977, allocations: 4 kB / 0.725 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2977, allocations: 0 / 0.725 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2977, allocations: 3.938 kB / 0.725 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2977, allocations: 0 / 0.725 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2979, allocations: 151.7 kB / 0.7251 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2979, allocations: 77.11 kB / 0.7252 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2979, allocations: 8 kB / 0.7252 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.298, allocations: 8 kB / 0.7252 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2981, allocations: 3.984 kB / 0.7252 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2981, allocations: 4 kB / 0.7252 GB, free: 396 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.2981, allocations: 87.23 kB / 0.7253 GB, free: 308 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2981, allocations: 0 / 0.7253 GB, free: 308 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002214/0.2984, allocations: 11.98 kB / 0.7253 GB, free: 296 kB / 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: 2 (falFac.y,falFac.k) * Number of discrete 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.0004525/0.2988, allocations: 0.6928 MB / 0.726 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.2989, allocations: 23.98 kB / 0.726 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2989, allocations: 0 / 0.726 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.299, allocations: 8 kB / 0.726 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2991, allocations: 7.938 kB / 0.7261 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.2995, allocations: 117.5 kB / 0.7262 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2998, allocations: 0.6846 MB / 0.7268 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.2998, allocations: 0 / 0.7268 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2999, allocations: 15.44 kB / 0.7269 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.2999, allocations: 0 / 0.7269 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.3185, allocations: 1.024 MB / 0.7279 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.3188, allocations: 154.9 kB / 0.728 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.963, allocations: 0 / 0.728 GB, free: 13.44 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)