Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 214.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002444/0.002444, allocations: 282.1 kB / 312.7 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.161/1.161, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 107.5 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1766, allocations: 95.38 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001773/0.1784, allocations: 0.596 MB / 0.8333 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.1787, allocations: 48.2 kB / 0.8333 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.1787, allocations: 0 / 0.8333 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.1787, allocations: 4 kB / 0.8333 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.1787, allocations: 0 / 0.8333 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.179, allocations: 19.91 kB / 0.8333 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.1791, allocations: 35.91 kB / 0.8334 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1791, allocations: 8 kB / 0.8334 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.1792, allocations: 4 kB / 0.8334 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.1792, allocations: 23.97 kB / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1792, allocations: 0 / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.1793, allocations: 19.98 kB / 0.8334 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1793, allocations: 19.97 kB / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1794, allocations: 7.938 kB / 0.8334 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1795, allocations: 36.11 kB / 0.8335 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1795, allocations: 0 / 0.8335 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1795, allocations: 0 / 0.8335 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1795, allocations: 0 / 0.8335 GB, free: 7.504 MB / 0.5762 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.0003636/0.1798, allocations: 270.3 kB / 0.8337 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1799, allocations: 13.34 kB / 0.8338 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.1799, allocations: 38.69 kB / 0.8338 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.1799, allocations: 8.875 kB / 0.8338 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.18, allocations: 102.5 kB / 0.8339 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1801, allocations: 8.375 kB / 0.8339 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1801, allocations: 4.375 kB / 0.8339 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1802, allocations: 62.22 kB / 0.834 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1802, allocations: 3.938 kB / 0.834 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1802, allocations: 4 kB / 0.834 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1802, allocations: 4 kB / 0.834 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1804, allocations: 95.81 kB / 0.8341 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1806, allocations: 152.6 kB / 0.8342 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1807, allocations: 66.48 kB / 0.8343 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1807, allocations: 28.84 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1809, allocations: 16.31 kB / 0.8343 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1809, allocations: 38.56 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1809, allocations: 3.938 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002471/0.1812, allocations: 113.5 kB / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1812, allocations: 51.41 kB / 0.8345 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.1813, allocations: 101.8 kB / 0.8346 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1813, allocations: 29.7 kB / 0.8346 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1814, allocations: 84.14 kB / 0.8347 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1814, allocations: 23.84 kB / 0.8347 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.1814, allocations: 29.7 kB / 0.8348 GB, free: 6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1816, allocations: 314.8 kB / 0.8351 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.1816, allocations: 19.98 kB / 0.8351 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.1817, allocations: 23.92 kB / 0.8351 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.1818, allocations: 61.48 kB / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1818, allocations: 0 / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001429/0.1819, allocations: 93.55 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1819, allocations: 7.938 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1819, allocations: 3.938 kB / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1819, allocations: 4 kB / 0.8353 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.182, allocations: 23.98 kB / 0.8353 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.182, allocations: 0 / 0.8353 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1821, allocations: 11.89 kB / 0.8353 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1821, allocations: 3.984 kB / 0.8353 GB, free: 5.426 MB / 0.5762 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 (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.0001516/0.1822, allocations: 123.1 kB / 0.8354 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.1822, allocations: 7.938 kB / 0.8354 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1824, allocations: 121.5 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1825, allocations: 11.98 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1825, allocations: 0 / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1825, allocations: 0 / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1826, allocations: 132.8 kB / 0.8357 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1826, allocations: 0 / 0.8357 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1827, allocations: 23.98 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1827, allocations: 7.875 kB / 0.8357 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1827, allocations: 4 kB / 0.8357 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1827, allocations: 7.938 kB / 0.8357 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1827, allocations: 0 / 0.8357 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.1829, allocations: 121 kB / 0.8359 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.1829, allocations: 15.81 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1829, allocations: 4 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.1829, allocations: 4 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1829, allocations: 11.97 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1829, allocations: 0 / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.183, allocations: 75.28 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.183, allocations: 4 kB / 0.836 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001872/0.1832, allocations: 12 kB / 0.836 GB, free: 4.672 MB / 0.5762 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.0005431/0.1837, allocations: 0.6768 MB / 0.8366 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1838, allocations: 59.91 kB / 0.8367 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1838, allocations: 0 / 0.8367 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.1839, allocations: 35.92 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.184, allocations: 9.531 kB / 0.8367 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.1844, allocations: 171.5 kB / 0.8369 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.1844, allocations: 79.16 kB / 0.837 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.1845, allocations: 39.72 kB / 0.837 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1846, allocations: 23.42 kB / 0.837 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1846, allocations: 0 / 0.837 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.2127, allocations: 2.062 MB / 0.8391 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.88, allocations: 6.641 kB / 0.8391 GB, free: 1.562 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.90071794996038] Failed to read output from testmodel.py, exit status != 0: 10.982306281570345 11.010139835 10.825368304 Calling exit ...