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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108.6 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 189.2 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.815/0.815, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 73.09 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1951, allocations: 78.87 MB / 0.6506 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001655/0.1968, allocations: 0.5727 MB / 0.6511 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002927/0.1971, allocations: 59.78 kB / 0.6512 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1971, allocations: 0 / 0.6512 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.1972, allocations: 0 / 0.6512 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1972, allocations: 3.938 kB / 0.6512 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1975, allocations: 19.91 kB / 0.6512 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.1976, allocations: 27.98 kB / 0.6513 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1977, allocations: 4 kB / 0.6513 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.1977, allocations: 15.97 kB / 0.6513 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.1978, allocations: 15.94 kB / 0.6513 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1978, allocations: 0 / 0.6513 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.1979, allocations: 15.98 kB / 0.6513 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.1979, allocations: 19.97 kB / 0.6513 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.198, allocations: 7.938 kB / 0.6513 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1981, allocations: 36.11 kB / 0.6514 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1981, allocations: 0 / 0.6514 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1981, allocations: 0 / 0.6514 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1981, allocations: 0 / 0.6514 GB, free: 2.758 MB / 494.1 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.0004061/0.1985, allocations: 343.4 kB / 0.6517 GB, free: 2.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1986, allocations: 12.03 kB / 0.6517 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.1986, allocations: 34.75 kB / 0.6517 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1987, allocations: 12.83 kB / 0.6518 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1988, allocations: 160.7 kB / 0.6519 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1988, allocations: 384 / 0.6519 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1988, allocations: 4.375 kB / 0.6519 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.199, allocations: 66.16 kB / 0.652 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.199, allocations: 3.938 kB / 0.652 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.199, allocations: 8 kB / 0.652 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.199, allocations: 4 kB / 0.652 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1992, allocations: 103.9 kB / 0.6521 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.1993, allocations: 165.7 kB / 0.6522 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1995, allocations: 70.55 kB / 0.6523 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.1995, allocations: 28.78 kB / 0.6523 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.1999, allocations: 413.8 kB / 0.6527 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1999, allocations: 34.56 kB / 0.6528 GB, free: 1.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2, allocations: 3.938 kB / 0.6528 GB, free: 1.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002636/0.2002, allocations: 121.5 kB / 0.6529 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2003, allocations: 51.41 kB / 0.6529 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.2003, allocations: 101.8 kB / 0.653 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2003, allocations: 29.7 kB / 0.6531 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.2004, allocations: 80.14 kB / 0.6531 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.2004, allocations: 23.8 kB / 0.6532 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.2005, allocations: 25.7 kB / 0.6532 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2006, allocations: 326.8 kB / 0.6535 GB, free: 264 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.2007, allocations: 23.92 kB / 0.6535 GB, free: 240 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.2007, allocations: 23.92 kB / 0.6535 GB, free: 216 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2008, allocations: 60.83 kB / 0.6536 GB, free: 152 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2008, allocations: 0 / 0.6536 GB, free: 152 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001393/0.201, allocations: 89.62 kB / 0.6537 GB, free: 56 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.201, allocations: 7.938 kB / 0.6537 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.201, allocations: 3.938 kB / 0.6537 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.201, allocations: 0 / 0.6537 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2011, allocations: 27.92 kB / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2012, allocations: 0 / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.2012, allocations: 7.938 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2012, allocations: 4 kB / 0.6537 GB, free: 4 kB / 494.1 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.2014, allocations: 124.8 kB / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.2014, allocations: 11.89 kB / 0.6539 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2016, allocations: 117.5 kB / 0.654 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2016, allocations: 4 kB / 0.654 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2016, allocations: 4 kB / 0.654 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.2016, allocations: 7.969 kB / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2018, allocations: 169.6 kB / 0.6542 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2018, allocations: 0 / 0.6542 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.2019, allocations: 19.98 kB / 0.6542 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2019, allocations: 3.938 kB / 0.6542 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2019, allocations: 4 kB / 0.6542 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2019, allocations: 7.938 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2019, allocations: 0 / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.2021, allocations: 125.9 kB / 0.6543 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.2021, allocations: 92.94 kB / 0.6544 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2022, allocations: 0 / 0.6544 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.2022, allocations: 0 / 0.6544 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.2022, allocations: 11.98 kB / 0.6544 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.2022, allocations: 4 kB / 0.6544 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.2023, allocations: 75.28 kB / 0.6545 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2023, allocations: 0 / 0.6545 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002012/0.2025, allocations: 19.98 kB / 0.6545 GB, free: 15.11 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005567/0.203, allocations: 0.6709 MB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.2032, allocations: 59.97 kB / 0.6552 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2032, allocations: 0 / 0.6552 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.2033, allocations: 47.84 kB / 0.6553 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.2034, allocations: 13.66 kB / 0.6553 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2038, allocations: 174.6 kB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2041, allocations: 0.6807 MB / 0.6561 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.2042, allocations: 35.95 kB / 0.6561 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.2043, allocations: 19.44 kB / 0.6562 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2043, allocations: 4 kB / 0.6562 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.226, allocations: 1.555 MB / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.235, allocations: 15.62 kB / 0.6577 GB, free: 11.85 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)