Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001253/0.001253, 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.001446/0.001446, allocations: 210.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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.785 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.002548/0.002548, allocations: 286.5 kB / 312.7 MB, free: 2.602 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002924/0.002924, allocations: 98.66 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1839, allocations: 95.39 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002818/0.1867, allocations: 1.566 MB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.1871, allocations: 124.5 kB / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.1871, allocations: 0 / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.1872, allocations: 3.938 kB / 0.8343 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.1872, allocations: 7.922 kB / 0.8343 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1875, allocations: 31.97 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.1876, allocations: 31.92 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.1877, allocations: 11.98 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1877, allocations: 23.91 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.1878, allocations: 15.92 kB / 0.8344 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1878, allocations: 8 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1879, allocations: 23.92 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1879, allocations: 11.92 kB / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.188, allocations: 15.92 kB / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1881, allocations: 40.11 kB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1881, allocations: 0 / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1881, allocations: 0 / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1881, allocations: 0 / 0.8345 GB, free: 6.355 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004916/0.1886, allocations: 282.2 kB / 0.8348 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1886, allocations: 9.938 kB / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1887, allocations: 38.75 kB / 0.8348 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.1887, allocations: 0.9375 kB / 0.8348 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1888, allocations: 122.4 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1889, allocations: 384 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1889, allocations: 4.375 kB / 0.835 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1891, allocations: 71.81 kB / 0.835 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1891, allocations: 3.938 kB / 0.835 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1891, allocations: 0 / 0.835 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1891, allocations: 4 kB / 0.835 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.1893, allocations: 47.95 kB / 0.8351 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1898, allocations: 235.9 kB / 0.8353 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1901, allocations: 62.47 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.1902, allocations: 24.84 kB / 0.8354 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1903, allocations: 19.98 kB / 0.8354 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1904, allocations: 38.55 kB / 0.8354 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1904, allocations: 3.938 kB / 0.8354 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00041/0.1908, allocations: 97.59 kB / 0.8355 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1908, allocations: 55.34 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1909, allocations: 109.8 kB / 0.8357 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1909, allocations: 25.7 kB / 0.8357 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.191, allocations: 88.12 kB / 0.8358 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.191, allocations: 7.953 kB / 0.8358 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1911, allocations: 17.72 kB / 0.8358 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1912, allocations: 314.8 kB / 0.8361 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.1913, allocations: 27.97 kB / 0.8362 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.1914, allocations: 15.98 kB / 0.8362 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1916, allocations: 49.09 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1916, allocations: 0 / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002187/0.1918, allocations: 81.53 kB / 0.8363 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1918, allocations: 4 kB / 0.8363 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1918, allocations: 4 kB / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1918, allocations: 0 / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1919, allocations: 11.98 kB / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1919, allocations: 0 / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.192, allocations: 19.92 kB / 0.8363 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.192, allocations: 4 kB / 0.8363 GB, free: 4.297 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.679e-05/0.1921, allocations: 110.4 kB / 0.8364 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1921, allocations: 4 kB / 0.8364 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1924, allocations: 89.64 kB / 0.8365 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1924, allocations: 3.984 kB / 0.8365 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1924, allocations: 0 / 0.8365 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1924, allocations: 3.938 kB / 0.8365 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1926, allocations: 140.7 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1926, allocations: 0 / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.1927, allocations: 11.98 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1927, allocations: 0 / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1927, allocations: 3.938 kB / 0.8367 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1927, allocations: 0 / 0.8367 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1927, allocations: 4 kB / 0.8367 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.193, allocations: 179.4 kB / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.193, allocations: 0 / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.193, allocations: 0 / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1931, allocations: 4 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.1931, allocations: 11.98 kB / 0.8369 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1931, allocations: 0 / 0.8369 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.1932, allocations: 91.27 kB / 0.837 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1932, allocations: 0 / 0.837 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002234/0.1934, allocations: 19.88 kB / 0.837 GB, free: 3.551 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006313/0.1941, allocations: 0.7046 MB / 0.8377 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1943, allocations: 47.95 kB / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1943, allocations: 0 / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/0.1944, allocations: 27.91 kB / 0.8377 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1947, allocations: 8 kB / 0.8378 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1962, allocations: 1.296 MB / 0.839 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.1963, allocations: 63.34 kB / 0.8391 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.1963, allocations: 4 kB / 0.8391 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.1963, allocations: 15.44 kB / 0.8391 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1963, allocations: 0 / 0.8391 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.2275, allocations: 2.263 MB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 9.188 kB / 0.8413 GB, free: 15.13 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.40603846590966] Failed to read output from testmodel.py, exit status != 0: 11.330626475159079 11.361135074 11.167872572 Calling exit ...