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.001339/0.001339, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001589/0.001589, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.386/1.386, 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.002566/0.002566, allocations: 289.6 kB / 312.7 MB, free: 2.609 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.148/1.148, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.003041/0.003041, allocations: 103 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1736, allocations: 95.38 MB / 0.8327 GB, free: 8.32 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001706/0.1753, allocations: 0.5961 MB / 0.8333 GB, free: 7.723 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.1756, allocations: 52.16 kB / 0.8333 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.1756, allocations: 0 / 0.8333 GB, free: 7.672 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.1756, allocations: 3.984 kB / 0.8333 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1757, allocations: 0 / 0.8333 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1759, allocations: 23.91 kB / 0.8333 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.176, allocations: 23.98 kB / 0.8334 GB, free: 7.621 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.176, allocations: 4 kB / 0.8334 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1761, allocations: 19.97 kB / 0.8334 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.1761, allocations: 8 kB / 0.8334 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1761, allocations: 4 kB / 0.8334 GB, free: 7.586 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1762, allocations: 23.97 kB / 0.8334 GB, free: 7.562 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1762, allocations: 15.92 kB / 0.8334 GB, free: 7.547 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.1762, allocations: 11.94 kB / 0.8334 GB, free: 7.535 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1763, allocations: 36.16 kB / 0.8335 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1763, allocations: 7.938 kB / 0.8335 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1764, allocations: 0 / 0.8335 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1764, allocations: 0 / 0.8335 GB, free: 7.492 MB / 0.5763 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.0003161/0.1767, allocations: 258.3 kB / 0.8337 GB, free: 7.207 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1767, allocations: 17.34 kB / 0.8337 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1768, allocations: 34.75 kB / 0.8338 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1768, allocations: 8.875 kB / 0.8338 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.1769, allocations: 110.5 kB / 0.8339 GB, free: 7.008 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1769, allocations: 4.375 kB / 0.8339 GB, free: 7.004 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1769, allocations: 4.375 kB / 0.8339 GB, free: 7 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.177, allocations: 62.23 kB / 0.834 GB, free: 6.934 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.177, allocations: 3.938 kB / 0.834 GB, free: 6.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.177, allocations: 0 / 0.834 GB, free: 6.93 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1771, allocations: 0 / 0.834 GB, free: 6.93 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1772, allocations: 99.86 kB / 0.8341 GB, free: 6.832 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1774, allocations: 152.6 kB / 0.8342 GB, free: 6.641 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1775, allocations: 74.53 kB / 0.8343 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.1775, allocations: 24.84 kB / 0.8343 GB, free: 6.531 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.1777, allocations: 19.98 kB / 0.8343 GB, free: 6.512 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1777, allocations: 34.55 kB / 0.8344 GB, free: 6.469 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1777, allocations: 0 / 0.8344 GB, free: 6.469 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.0002508/0.178, allocations: 121.8 kB / 0.8345 GB, free: 6.344 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.178, allocations: 55.41 kB / 0.8345 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.1781, allocations: 94.03 kB / 0.8346 GB, free: 6.176 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1781, allocations: 29.7 kB / 0.8346 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1781, allocations: 84.08 kB / 0.8347 GB, free: 6.055 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1782, allocations: 27.84 kB / 0.8347 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1782, allocations: 29.7 kB / 0.8348 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1784, allocations: 322.8 kB / 0.8351 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.1784, allocations: 19.98 kB / 0.8351 GB, free: 5.648 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.1784, allocations: 19.98 kB / 0.8351 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.1785, allocations: 56.84 kB / 0.8352 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1785, allocations: 0 / 0.8352 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001415/0.1787, allocations: 97.52 kB / 0.8353 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1787, allocations: 11.94 kB / 0.8353 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1787, allocations: 0 / 0.8353 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1787, allocations: 4 kB / 0.8353 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1788, allocations: 19.98 kB / 0.8353 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1788, allocations: 0 / 0.8353 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.1788, allocations: 11.89 kB / 0.8353 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1788, allocations: 4 kB / 0.8353 GB, free: 5.418 MB / 0.5763 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.0001659/0.179, allocations: 122.5 kB / 0.8354 GB, free: 5.289 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.179, allocations: 7.938 kB / 0.8354 GB, free: 5.281 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.1793, allocations: 121.4 kB / 0.8356 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1793, allocations: 0 / 0.8356 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1793, allocations: 11.88 kB / 0.8356 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1793, allocations: 4 kB / 0.8356 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1794, allocations: 136.8 kB / 0.8357 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1794, allocations: 0 / 0.8357 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.1795, allocations: 19.98 kB / 0.8357 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1795, allocations: 3.938 kB / 0.8357 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1795, allocations: 0 / 0.8357 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1795, allocations: 4 kB / 0.8357 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1795, allocations: 0 / 0.8357 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1796, allocations: 125 kB / 0.8359 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.1796, allocations: 11.88 kB / 0.8359 GB, free: 4.781 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1797, allocations: 4 kB / 0.8359 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.1797, allocations: 0 / 0.8359 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1797, allocations: 11.98 kB / 0.8359 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1797, allocations: 11.98 kB / 0.8359 GB, free: 4.754 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.1798, allocations: 79.22 kB / 0.836 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1798, allocations: 0 / 0.836 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001929/0.1799, allocations: 16 kB / 0.836 GB, free: 4.66 MB / 0.5763 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.0005501/0.1805, allocations: 0.6688 MB / 0.8366 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1806, allocations: 67.89 kB / 0.8367 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1806, allocations: 0 / 0.8367 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.1807, allocations: 31.92 kB / 0.8367 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1808, allocations: 10.25 kB / 0.8367 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.1812, allocations: 166.6 kB / 0.8369 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.1813, allocations: 75.22 kB / 0.837 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 8.575e-05/0.1814, allocations: 39.72 kB / 0.837 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1814, allocations: 23.38 kB / 0.837 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of SimCode: time 3.61e-07/0.1814, allocations: 0 / 0.837 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.2101, allocations: 2.078 MB / 0.8391 GB, free: 1.559 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.03, allocations: 1.219 kB / 0.8391 GB, free: 1.559 MB / 0.5763 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 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.986607931088656] Failed to read output from testmodel.py, exit status != 0: 11.137918988708407 11.166202991 10.98475384 Calling exit ...