Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.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.001429/0.001429, allocations: 109 kB / 20.45 MB, free: 1.52 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.001576/0.001576, allocations: 211.1 kB / 23.76 MB, free: 4.746 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9699/0.9699, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: IBPSA 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.002341/0.002341, allocations: 61.97 kB / 0.6425 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1783, allocations: 89.18 MB / 0.7296 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.003136/0.1814, allocations: 1.537 MB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.1819, allocations: 131.6 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.1819, allocations: 0 / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.1819, allocations: 3.938 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.182, allocations: 0 / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1822, allocations: 27.84 kB / 0.7312 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.1823, allocations: 35.91 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.1824, allocations: 4 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1825, allocations: 19.92 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.1825, allocations: 19.98 kB / 0.7313 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1825, allocations: 3.938 kB / 0.7313 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.1826, allocations: 12 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1826, allocations: 7.969 kB / 0.7313 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1827, allocations: 11.94 kB / 0.7313 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.1828, allocations: 31.84 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.1828, allocations: 11.98 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1828, allocations: 0 / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1828, allocations: 0 / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005028/0.1833, allocations: 270.3 kB / 0.7316 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1833, allocations: 8.031 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.1834, allocations: 0.9375 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1835, allocations: 110.5 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1835, allocations: 384 / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1835, allocations: 4.375 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1837, allocations: 66.16 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1837, allocations: 192 / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1838, allocations: 3.938 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1838, allocations: 4 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.1839, allocations: 43.95 kB / 0.7319 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1844, allocations: 232 kB / 0.7321 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1847, allocations: 62.41 kB / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1848, allocations: 28.91 kB / 0.7322 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.1849, allocations: 7.984 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1849, allocations: 30.56 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1849, allocations: 0 / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004005/0.1853, allocations: 85.64 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1854, allocations: 63.39 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.1855, allocations: 109.7 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1855, allocations: 25.7 kB / 0.7325 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1856, allocations: 84.14 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1856, allocations: 11.94 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1856, allocations: 17.72 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1858, allocations: 310.8 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.1859, allocations: 19.97 kB / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.186, allocations: 19.98 kB / 0.7329 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1861, allocations: 49.28 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1861, allocations: 3.938 kB / 0.733 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002357/0.1864, allocations: 73.64 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1864, allocations: 8 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1864, allocations: 7.922 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1864, allocations: 4 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.1865, allocations: 11.98 kB / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1865, allocations: 0 / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.1866, allocations: 7.984 kB / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1866, allocations: 0 / 0.7331 GB, free: 12.96 MB / 0.5606 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 (rea2Int.y,fac.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.335e-05/0.1867, allocations: 117.8 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1867, allocations: 3.953 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.187, allocations: 85.27 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.187, allocations: 4 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.187, allocations: 0 / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.187, allocations: 0 / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1871, allocations: 136.7 kB / 0.7334 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1872, allocations: 4 kB / 0.7334 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.1872, allocations: 11.92 kB / 0.7334 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1872, allocations: 4 kB / 0.7334 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1872, allocations: 0 / 0.7334 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1872, allocations: 4 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1872, allocations: 0 / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1875, allocations: 171.4 kB / 0.7336 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.1875, allocations: 0 / 0.7336 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1875, allocations: 4 kB / 0.7336 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.1876, allocations: 11.92 kB / 0.7336 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1877, allocations: 15.98 kB / 0.7336 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1877, allocations: 0 / 0.7336 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.1877, allocations: 79.28 kB / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1877, allocations: 0 / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002355/0.188, allocations: 12 kB / 0.7337 GB, free: 12.23 MB / 0.5606 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 (fac.y,rea2Int.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.0001437/0.1881, allocations: 103.2 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1884, allocations: 47.94 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1884, allocations: 0 / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1885, allocations: 23.98 kB / 0.7339 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1888, allocations: 6.438 kB / 0.7339 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.1891, allocations: 143.2 kB / 0.734 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1895, allocations: 0.6767 MB / 0.7347 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1895, allocations: 15.42 kB / 0.7347 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1895, allocations: 4 kB / 0.7347 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.002467/0.192, allocations: 0.7305 MB / 0.7354 GB, free: 10.41 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.080380528932437] Failed to read output from testmodel.py, exit status != 0: 0.20134889683686197 0.21791611300000002 0.03172222 Calling exit ...