Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001142/0.001142, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5534/0.5534, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.705/1.705, allocations: 223.2 MB / 354.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009297, allocations: 99.12 kB / 427.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 72.3 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/0.694, allocations: 101.9 MB / 0.6685 GB, free: 2.492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6943, allocations: 71.97 kB / 0.6685 GB, free: 2.422 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003282/0.6976, allocations: 1.076 MB / 0.6696 GB, free: 1.359 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6977, allocations: 0 / 0.6696 GB, free: 1.359 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.6977, allocations: 0 / 0.6696 GB, free: 1.359 MB / 458.7 MB 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.0004542/0.6982, allocations: 363.9 kB / 0.6699 GB, free: 0.957 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6982, allocations: 8.031 kB / 0.6699 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.6983, allocations: 34.56 kB / 0.67 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.6983, allocations: 15.86 kB / 0.67 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.6984, allocations: 167 kB / 0.6701 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.6985, allocations: 4 kB / 0.6701 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.6985, allocations: 4 kB / 0.6701 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.6987, allocations: 61.67 kB / 0.6702 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6987, allocations: 0 / 0.6702 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6987, allocations: 4 kB / 0.6702 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.6988, allocations: 4 kB / 0.6702 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.699, allocations: 59.84 kB / 0.6703 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.6994, allocations: 288.7 kB / 0.6705 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.6998, allocations: 66.53 kB / 0.6706 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.7001, allocations: 397.6 kB / 0.671 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.7001, allocations: 38.52 kB / 0.671 GB, free: 15.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.7002, allocations: 0 / 0.671 GB, free: 15.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004282/0.7006, allocations: 109.6 kB / 0.6711 GB, free: 15.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.7007, allocations: 59.41 kB / 0.6712 GB, free: 15.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.7007, allocations: 105 kB / 0.6713 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.7008, allocations: 25.7 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.7008, allocations: 84.14 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.7009, allocations: 7.906 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.7009, allocations: 0 / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.701, allocations: 314.8 kB / 0.6717 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.7011, allocations: 31.91 kB / 0.6717 GB, free: 14.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.7012, allocations: 27.98 kB / 0.6717 GB, free: 14.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.7013, allocations: 27.97 kB / 0.6718 GB, free: 14.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7013, allocations: 0 / 0.6718 GB, free: 14.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002409/0.7016, allocations: 85.56 kB / 0.6719 GB, free: 14.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7016, allocations: 4 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7016, allocations: 0 / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7017, allocations: 3.953 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.7018, allocations: 19.98 kB / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7018, allocations: 0 / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.7018, allocations: 15.98 kB / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.7019, allocations: 0 / 0.6719 GB, free: 14.66 MB / 474.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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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 8.503e-05/0.7019, allocations: 114.1 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.702, allocations: 0 / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.7023, allocations: 101.5 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7023, allocations: 3.953 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7023, allocations: 0 / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7023, allocations: 0 / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.7025, allocations: 169.6 kB / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7025, allocations: 0 / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.7026, allocations: 15.98 kB / 0.6723 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7026, allocations: 0 / 0.6723 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.7026, allocations: 7.984 kB / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7026, allocations: 0 / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7027, allocations: 3.953 kB / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.703, allocations: 187.4 kB / 0.6725 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.703, allocations: 77.11 kB / 0.6726 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.703, allocations: 3.938 kB / 0.6726 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.7031, allocations: 11.98 kB / 0.6726 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7032, allocations: 11.98 kB / 0.6726 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.7032, allocations: 3.953 kB / 0.6726 GB, free: 13.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.7033, allocations: 87.58 kB / 0.6727 GB, free: 13.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7033, allocations: 4 kB / 0.6727 GB, free: 13.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.7035, allocations: 8 kB / 0.6727 GB, free: 13.77 MB / 474.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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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.0007107/0.7043, allocations: 0.7357 MB / 0.6734 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.7045, allocations: 51.95 kB / 0.6734 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7045, allocations: 0 / 0.6734 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.7046, allocations: 35.97 kB / 0.6735 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.7049, allocations: 8 kB / 0.6735 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.7059, allocations: 460 kB / 0.6739 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.7062, allocations: 0.6809 MB / 0.6746 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.7062, allocations: 16.08 kB / 0.6746 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.7063, allocations: 15.42 kB / 0.6746 GB, free: 11.68 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7063, allocations: 0 / 0.6746 GB, free: 11.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.7192, allocations: 1.368 MB / 0.676 GB, free: 10.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.7195, allocations: 173.4 kB / 0.6761 GB, free: 10.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.383, allocations: 0 / 0.6761 GB, free: 10.19 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)