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.001331/0.001331, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.0015/0.0015, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.00242/0.00242, allocations: 278.4 kB / 313.5 MB, free: 2.605 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.27/1.27, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.002848/0.002848, allocations: 94.5 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1875, allocations: 95.38 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00217/0.1897, allocations: 0.6038 MB / 0.834 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.19, allocations: 52.27 kB / 0.8341 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.19, allocations: 0 / 0.8341 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.19, allocations: 3.938 kB / 0.8341 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.19, allocations: 4 kB / 0.8341 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1903, allocations: 15.98 kB / 0.8341 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1905, allocations: 31.95 kB / 0.8341 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/0.1905, allocations: 4 kB / 0.8341 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.1905, allocations: 8 kB / 0.8341 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.1906, allocations: 19.97 kB / 0.8342 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1906, allocations: 3.938 kB / 0.8342 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1907, allocations: 23.98 kB / 0.8342 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.1907, allocations: 19.84 kB / 0.8342 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.1908, allocations: 11.94 kB / 0.8342 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1909, allocations: 36.11 kB / 0.8342 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1909, allocations: 4 kB / 0.8343 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1909, allocations: 0 / 0.8343 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1909, allocations: 0 / 0.8343 GB, free: 7.457 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.0003738/0.1913, allocations: 266.3 kB / 0.8345 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1913, allocations: 13.33 kB / 0.8345 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.918e-05/0.1914, allocations: 4.188 kB / 0.8345 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1914, allocations: 30.75 kB / 0.8346 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1914, allocations: 4.938 kB / 0.8346 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1915, allocations: 106.5 kB / 0.8347 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1915, allocations: 4.375 kB / 0.8347 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1916, allocations: 4.375 kB / 0.8347 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1918, allocations: 73.91 kB / 0.8347 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1918, allocations: 0 / 0.8347 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1918, allocations: 4 kB / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1918, allocations: 0 / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1919, allocations: 99.88 kB / 0.8348 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1922, allocations: 148.6 kB / 0.835 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1923, allocations: 66.53 kB / 0.835 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.1923, allocations: 32.84 kB / 0.8351 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.1926, allocations: 19.98 kB / 0.8351 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1926, allocations: 38.44 kB / 0.8351 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1926, allocations: 4 kB / 0.8351 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002832/0.1929, allocations: 109.9 kB / 0.8352 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1929, allocations: 51.41 kB / 0.8353 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.193, allocations: 105.8 kB / 0.8354 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.193, allocations: 25.7 kB / 0.8354 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.193, allocations: 80.14 kB / 0.8355 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1931, allocations: 19.86 kB / 0.8355 GB, free: 6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.1931, allocations: 33.7 kB / 0.8355 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.1934, allocations: 310.8 kB / 0.8358 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.1934, allocations: 19.98 kB / 0.8359 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1935, allocations: 20.42 kB / 0.8359 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1936, allocations: 72.92 kB / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1936, allocations: 3.938 kB / 0.8359 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001479/0.1937, allocations: 93.61 kB / 0.836 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1938, allocations: 7.938 kB / 0.836 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1938, allocations: 4 kB / 0.836 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1938, allocations: 0 / 0.836 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1939, allocations: 19.98 kB / 0.8361 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1939, allocations: 3.938 kB / 0.8361 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.1939, allocations: 7.891 kB / 0.8361 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1939, allocations: 8 kB / 0.8361 GB, free: 5.383 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.0001716/0.1941, allocations: 126.5 kB / 0.8362 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.1941, allocations: 3.938 kB / 0.8362 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1943, allocations: 129.4 kB / 0.8363 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1943, allocations: 0 / 0.8363 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1943, allocations: 0 / 0.8363 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1944, allocations: 3.984 kB / 0.8363 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1945, allocations: 144.7 kB / 0.8365 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1945, allocations: 3.938 kB / 0.8365 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.1946, allocations: 23.92 kB / 0.8365 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1946, allocations: 4 kB / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1946, allocations: 0 / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1946, allocations: 0 / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1946, allocations: 3.984 kB / 0.8365 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1948, allocations: 125 kB / 0.8366 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.1948, allocations: 7.938 kB / 0.8366 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1948, allocations: 7.938 kB / 0.8366 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.1948, allocations: 0 / 0.8366 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1948, allocations: 11.92 kB / 0.8367 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1948, allocations: 4 kB / 0.8367 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.1949, allocations: 79.28 kB / 0.8367 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1949, allocations: 4 kB / 0.8367 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001947/0.1951, allocations: 12 kB / 0.8368 GB, free: 4.621 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.0005266/0.1956, allocations: 0.6638 MB / 0.8374 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1957, allocations: 60.28 kB / 0.8375 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1957, allocations: 0 / 0.8375 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.1958, allocations: 44.08 kB / 0.8375 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1959, allocations: 2.25 kB / 0.8375 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.1964, allocations: 182.6 kB / 0.8377 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.1964, allocations: 71.28 kB / 0.8377 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.186e-05/0.1965, allocations: 47.64 kB / 0.8378 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.1965, allocations: 19.42 kB / 0.8378 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.1965, allocations: 0 / 0.8378 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2182, allocations: 1.744 MB / 0.8395 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.21, allocations: 3.984 kB / 0.8395 GB, free: 1.859 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.506308356998488] Failed to read output from testmodel.py, exit status != 0: 11.38996652502101 11.407205095 11.212971508 Calling exit ...