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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 192.5 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 287.4 kB / 307 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.209/1.209, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 98.12 kB / 0.7311 GB, free: 38.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1835, allocations: 94.21 MB / 0.8231 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002955/0.1865, allocations: 1.554 MB / 0.8246 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00038/0.1868, allocations: 136.4 kB / 0.8248 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.1869, allocations: 0 / 0.8248 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1869, allocations: 7.922 kB / 0.8248 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.187, allocations: 7.938 kB / 0.8248 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1873, allocations: 31.97 kB / 0.8248 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.1873, allocations: 35.86 kB / 0.8248 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1874, allocations: 11.98 kB / 0.8248 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.1875, allocations: 15.92 kB / 0.8249 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1875, allocations: 27.86 kB / 0.8249 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1875, allocations: 4 kB / 0.8249 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.1876, allocations: 19.98 kB / 0.8249 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.1876, allocations: 11.97 kB / 0.8249 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1877, allocations: 11.94 kB / 0.8249 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1878, allocations: 59.67 kB / 0.825 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1878, allocations: 0 / 0.825 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1878, allocations: 4 kB / 0.825 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1878, allocations: 0 / 0.825 GB, free: 15.92 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.0004793/0.1883, allocations: 274.3 kB / 0.8253 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1883, allocations: 12.03 kB / 0.8253 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1884, allocations: 4.891 kB / 0.8253 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1885, allocations: 114.5 kB / 0.8254 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1885, allocations: 384 / 0.8254 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1885, allocations: 4.375 kB / 0.8254 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1887, allocations: 58.23 kB / 0.8254 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1888, allocations: 192 / 0.8254 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1888, allocations: 3.938 kB / 0.8254 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1888, allocations: 8 kB / 0.8255 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.189, allocations: 47.89 kB / 0.8255 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1895, allocations: 247.9 kB / 0.8257 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1898, allocations: 58.48 kB / 0.8258 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1899, allocations: 28.89 kB / 0.8258 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.19, allocations: 23.98 kB / 0.8258 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1901, allocations: 34.56 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1901, allocations: 0 / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004789/0.1905, allocations: 93.58 kB / 0.826 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1906, allocations: 59.41 kB / 0.826 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.1907, allocations: 109.8 kB / 0.8261 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.1907, allocations: 25.7 kB / 0.8261 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.1908, allocations: 92.08 kB / 0.8262 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1908, allocations: 8.016 kB / 0.8262 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1908, allocations: 17.66 kB / 0.8263 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.191, allocations: 322.8 kB / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.1911, allocations: 23.98 kB / 0.8266 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1912, allocations: 15.97 kB / 0.8266 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1914, allocations: 45.11 kB / 0.8266 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1914, allocations: 0 / 0.8266 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002307/0.1916, allocations: 81.62 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1916, allocations: 4 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1916, allocations: 4 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1916, allocations: 0 / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.1917, allocations: 19.86 kB / 0.8268 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1917, allocations: 0 / 0.8268 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1918, allocations: 11.89 kB / 0.8268 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1918, allocations: 7.984 kB / 0.8268 GB, free: 13.91 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 0.0001659/0.192, allocations: 114.4 kB / 0.8269 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.192, allocations: 4 kB / 0.8269 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1923, allocations: 81.64 kB / 0.827 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1923, allocations: 4 kB / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1923, allocations: 0 / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1923, allocations: 0 / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1925, allocations: 140.7 kB / 0.8271 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1925, allocations: 0 / 0.8271 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.1926, allocations: 11.98 kB / 0.8271 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1926, allocations: 0 / 0.8271 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1926, allocations: 7.938 kB / 0.8271 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1926, allocations: 0 / 0.8271 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1926, allocations: 0 / 0.8271 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1929, allocations: 180.9 kB / 0.8273 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.1929, allocations: 4 kB / 0.8273 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1929, allocations: 0 / 0.8273 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.193, allocations: 11.98 kB / 0.8273 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.193, allocations: 11.98 kB / 0.8273 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.193, allocations: 3.938 kB / 0.8273 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.1931, allocations: 79.28 kB / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1931, allocations: 0 / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00023/0.1933, allocations: 16 kB / 0.8274 GB, free: 13.17 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.0001624/0.1935, allocations: 99.23 kB / 0.8275 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.1937, allocations: 51.89 kB / 0.8276 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1937, allocations: 0 / 0.8276 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.1938, allocations: 19.98 kB / 0.8276 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1941, allocations: 15.92 kB / 0.8276 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.1945, allocations: 117.6 kB / 0.8277 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1949, allocations: 0.6807 MB / 0.8284 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.195, allocations: 8.547 kB / 0.8284 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.195, allocations: 7.766 kB / 0.8284 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.195, allocations: 0 / 0.8284 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.003401/0.1984, allocations: 0.7883 MB / 0.8292 GB, free: 11.33 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.939811719814315] Failed to read output from testmodel.py, exit status != 0: 0.2058049018960446 0.22104244799999995 0.03034813 Calling exit ...