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.7844/0.7844, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 180.8 kB / 169.7 MB, free: 1.738 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.94/1.94, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.001225/0.001225, allocations: 94.2 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.785e-05/4.833e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 76.76 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6027/0.8093, allocations: 101.8 MB / 0.7277 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.8096, allocations: 77.7 kB / 0.7278 GB, free: 11.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002227/0.8119, allocations: 0.9046 MB / 0.7287 GB, free: 10.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8119, allocations: 3.938 kB / 0.7287 GB, free: 10.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.8119, allocations: 0 / 0.7287 GB, free: 10.63 MB / 490.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.0003271/0.8123, allocations: 329.6 kB / 0.729 GB, free: 10.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.8123, allocations: 8.031 kB / 0.729 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.201e-05/0.8124, allocations: 42.05 kB / 0.729 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.8124, allocations: 7.984 kB / 0.729 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8125, allocations: 163.1 kB / 0.7292 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.8126, allocations: 7.75 kB / 0.7292 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.8126, allocations: 4 kB / 0.7292 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.8128, allocations: 56.55 kB / 0.7293 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8128, allocations: 3.938 kB / 0.7293 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8128, allocations: 3.438 kB / 0.7293 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.8128, allocations: 4 kB / 0.7293 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.813, allocations: 106.6 kB / 0.7294 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.8132, allocations: 176.9 kB / 0.7296 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.8133, allocations: 69.19 kB / 0.7296 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.8134, allocations: 27.53 kB / 0.7296 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.8138, allocations: 400.8 kB / 0.73 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.8138, allocations: 38.5 kB / 0.7301 GB, free: 9.012 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.8138, allocations: 0 / 0.7301 GB, free: 9.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000223/0.814, allocations: 88.8 kB / 0.7301 GB, free: 8.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8141, allocations: 55.41 kB / 0.7302 GB, free: 8.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.8142, allocations: 96.78 kB / 0.7303 GB, free: 8.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.8142, allocations: 25.7 kB / 0.7303 GB, free: 8.734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.8142, allocations: 80.33 kB / 0.7304 GB, free: 8.648 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.8143, allocations: 23.55 kB / 0.7304 GB, free: 8.629 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.8143, allocations: 7.062 kB / 0.7304 GB, free: 8.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8145, allocations: 322.7 kB / 0.7307 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.8145, allocations: 15.81 kB / 0.7307 GB, free: 8.289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.8145, allocations: 27.23 kB / 0.7308 GB, free: 8.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.8146, allocations: 24.41 kB / 0.7308 GB, free: 8.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8146, allocations: 0 / 0.7308 GB, free: 8.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001361/0.8147, allocations: 100.3 kB / 0.7309 GB, free: 8.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8148, allocations: 8 kB / 0.7309 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8148, allocations: 0 / 0.7309 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8148, allocations: 3.984 kB / 0.7309 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.8149, allocations: 16 kB / 0.7309 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.8149, allocations: 0 / 0.7309 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.815, allocations: 0 / 0.7309 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.815, allocations: 7.984 kB / 0.7309 GB, free: 8.121 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 0.0001099/0.8151, allocations: 124 kB / 0.731 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.8151, allocations: 7.906 kB / 0.7311 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.8153, allocations: 119.9 kB / 0.7312 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8154, allocations: 4 kB / 0.7312 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8154, allocations: 0 / 0.7312 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8154, allocations: 0 / 0.7312 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.8155, allocations: 172.8 kB / 0.7313 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8155, allocations: 4 kB / 0.7313 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.8156, allocations: 19.98 kB / 0.7314 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8156, allocations: 3.938 kB / 0.7314 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.8156, allocations: 4 kB / 0.7314 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8157, allocations: 3.375 kB / 0.7314 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8157, allocations: 0 / 0.7314 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.8158, allocations: 119.7 kB / 0.7315 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.8159, allocations: 89 kB / 0.7316 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.8159, allocations: 7.875 kB / 0.7316 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.485e-05/0.8159, allocations: 0 / 0.7316 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.816, allocations: 7.984 kB / 0.7316 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.816, allocations: 7.875 kB / 0.7316 GB, free: 7.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.816, allocations: 78 kB / 0.7317 GB, free: 7.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.816, allocations: 0 / 0.7317 GB, free: 7.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.8162, allocations: 23.88 kB / 0.7317 GB, free: 7.305 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.0006106/0.8168, allocations: 0.6809 MB / 0.7324 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.817, allocations: 62.98 kB / 0.7324 GB, free: 6.562 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.817, allocations: 0 / 0.7324 GB, free: 6.562 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.817, allocations: 33.86 kB / 0.7324 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.872e-05/0.8171, allocations: 0.875 kB / 0.7324 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.8175, allocations: 148.5 kB / 0.7326 GB, free: 6.367 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.8179, allocations: 0.6905 MB / 0.7333 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.818, allocations: 35.88 kB / 0.7333 GB, free: 5.617 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.818, allocations: 19.31 kB / 0.7333 GB, free: 5.602 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.818, allocations: 0 / 0.7333 GB, free: 5.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.8314, allocations: 1.366 MB / 0.7346 GB, free: 4.367 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.8317, allocations: 176.9 kB / 0.7348 GB, free: 4.137 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.323, allocations: 0 / 0.7348 GB, free: 4.137 MB / 490.7 MB (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)