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.001765/0.001765, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001685/0.001685, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002466/0.002466, allocations: 286.5 kB / 313.5 MB, free: 2.836 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",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.002815/0.002815, allocations: 99.11 kB / 0.7404 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1763, allocations: 95.38 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001664/0.178, allocations: 0.5921 MB / 0.8341 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002543/0.1783, allocations: 64.17 kB / 0.8342 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.1783, allocations: 0 / 0.8342 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.1783, allocations: 0 / 0.8342 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1783, allocations: 0 / 0.8342 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1786, allocations: 23.86 kB / 0.8342 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.1786, allocations: 35.91 kB / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1787, allocations: 7.984 kB / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.475e-05/0.1787, allocations: 8 kB / 0.8342 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.882e-05/0.1787, allocations: 11.98 kB / 0.8343 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1787, allocations: 4 kB / 0.8343 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.1788, allocations: 23.97 kB / 0.8343 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.1789, allocations: 8 kB / 0.8343 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.1789, allocations: 19.86 kB / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.179, allocations: 36.11 kB / 0.8343 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.179, allocations: 0 / 0.8343 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.179, allocations: 0 / 0.8343 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.179, allocations: 0 / 0.8343 GB, free: 7.809 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.0003031/0.1793, allocations: 262.3 kB / 0.8346 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1793, allocations: 9.938 kB / 0.8346 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.1794, allocations: 8.188 kB / 0.8346 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1794, allocations: 38.73 kB / 0.8346 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.1794, allocations: 4.938 kB / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.1795, allocations: 106.5 kB / 0.8348 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1795, allocations: 8.375 kB / 0.8348 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1795, allocations: 384 / 0.8348 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1797, allocations: 65.98 kB / 0.8348 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1797, allocations: 0 / 0.8348 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1797, allocations: 3.984 kB / 0.8348 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1797, allocations: 4 kB / 0.8348 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1798, allocations: 99.88 kB / 0.8349 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.18, allocations: 160.5 kB / 0.8351 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1801, allocations: 66.55 kB / 0.8351 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.1802, allocations: 24.84 kB / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.1803, allocations: 19.98 kB / 0.8352 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1804, allocations: 34.5 kB / 0.8352 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/0.1804, allocations: 7.984 kB / 0.8352 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002322/0.1806, allocations: 114.2 kB / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1806, allocations: 63.33 kB / 0.8354 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.1807, allocations: 97.81 kB / 0.8355 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1807, allocations: 25.7 kB / 0.8355 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.1807, allocations: 80.14 kB / 0.8356 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1808, allocations: 19.86 kB / 0.8356 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.1808, allocations: 37.64 kB / 0.8356 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1809, allocations: 314.8 kB / 0.8359 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.181, allocations: 19.98 kB / 0.836 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.181, allocations: 32.02 kB / 0.836 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.1811, allocations: 52.84 kB / 0.836 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1811, allocations: 4 kB / 0.8361 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001436/0.1813, allocations: 93.55 kB / 0.8361 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1813, allocations: 15.92 kB / 0.8362 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1813, allocations: 0 / 0.8362 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1813, allocations: 0 / 0.8362 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.1814, allocations: 16 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1814, allocations: 4 kB / 0.8362 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.1814, allocations: 11.89 kB / 0.8362 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1814, allocations: 7.984 kB / 0.8362 GB, free: 5.719 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.0001337/0.1816, allocations: 118.5 kB / 0.8363 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.1816, allocations: 3.938 kB / 0.8363 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1818, allocations: 133.3 kB / 0.8364 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1818, allocations: 0 / 0.8364 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1818, allocations: 4 kB / 0.8364 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1818, allocations: 0 / 0.8364 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1819, allocations: 148.7 kB / 0.8366 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1819, allocations: 0 / 0.8366 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.182, allocations: 19.94 kB / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.182, allocations: 0 / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.182, allocations: 7.984 kB / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.182, allocations: 0 / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.182, allocations: 7.922 kB / 0.8366 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1822, allocations: 125 kB / 0.8367 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.1822, allocations: 3.938 kB / 0.8367 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1822, allocations: 7.984 kB / 0.8367 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.1822, allocations: 4 kB / 0.8368 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1822, allocations: 11.92 kB / 0.8368 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1822, allocations: 0 / 0.8368 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.1823, allocations: 75.28 kB / 0.8368 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1823, allocations: 4 kB / 0.8368 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001954/0.1825, allocations: 12 kB / 0.8368 GB, free: 4.965 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.0004982/0.183, allocations: 0.6712 MB / 0.8375 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1831, allocations: 71.88 kB / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1831, allocations: 0 / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.1832, allocations: 27.98 kB / 0.8376 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1833, allocations: 16.47 kB / 0.8376 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.1837, allocations: 174.6 kB / 0.8378 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.184, allocations: 0.6884 MB / 0.8385 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.1841, allocations: 39.72 kB / 0.8385 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.1841, allocations: 23.36 kB / 0.8385 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1841, allocations: 0 / 0.8385 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.2049, allocations: 1.746 MB / 0.8402 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.2, allocations: 8.062 kB / 0.8402 GB, free: 1.566 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 & /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 os._exit(0), Time elapsed: 15.442625007010065] Failed to read output from testmodel.py, exit status != 0: 11.356995816982817 11.372516442 11.190612766 Calling exit ...