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.001577/0.001577, allocations: 96.42 kB / 20.44 MB, free: 1.387 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.001607/0.001607, allocations: 218.9 kB / 23.75 MB, free: 4.543 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9641/0.9641, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.002084/0.002084, allocations: 70.5 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.174, allocations: 89.18 MB / 0.7294 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.003322/0.1773, allocations: 1.521 MB / 0.7309 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.1777, allocations: 127.7 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.1777, allocations: 0 / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.1778, allocations: 3.938 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1778, allocations: 3.938 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1781, allocations: 19.98 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.1782, allocations: 27.92 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1783, allocations: 11.98 kB / 0.7311 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.1783, allocations: 19.86 kB / 0.7311 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1784, allocations: 15.92 kB / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1784, allocations: 4 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.1785, allocations: 19.98 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1785, allocations: 4 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.1785, allocations: 11.92 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1786, allocations: 35.83 kB / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1786, allocations: 4 kB / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1786, allocations: 0 / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1787, allocations: 0 / 0.7312 GB, free: 14.71 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.0004846/0.1791, allocations: 262.3 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1792, allocations: 15.97 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.1792, allocations: 4.922 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1794, allocations: 118.4 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1794, allocations: 384 / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1794, allocations: 384 / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1796, allocations: 66.22 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1796, allocations: 192 / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1796, allocations: 3.938 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1796, allocations: 4 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1798, allocations: 39.95 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1802, allocations: 208.5 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1805, allocations: 54.61 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1806, allocations: 32.83 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.539e-05/0.1807, allocations: 4 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1808, allocations: 30.56 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1808, allocations: 0 / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003932/0.1812, allocations: 101.6 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1812, allocations: 51.41 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.1813, allocations: 109.8 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1813, allocations: 25.7 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1814, allocations: 80.14 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1814, allocations: 11.95 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1814, allocations: 9.719 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1816, allocations: 322.8 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.1817, allocations: 15.98 kB / 0.7327 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.1818, allocations: 27.97 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1819, allocations: 48.77 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1819, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002156/0.1821, allocations: 73.58 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1822, allocations: 8 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1822, allocations: 0 / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1822, allocations: 3.938 kB / 0.7328 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1823, allocations: 15.98 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1823, allocations: 0 / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.1823, allocations: 8 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1823, allocations: 0 / 0.7329 GB, free: 12.81 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 8.931e-05/0.1824, allocations: 113.8 kB / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.1825, allocations: 8.406 kB / 0.733 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1827, allocations: 85.27 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1827, allocations: 8.031 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1827, allocations: 0 / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1827, allocations: 0 / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1829, allocations: 117.2 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1829, allocations: 4 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.183, allocations: 11.92 kB / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.183, allocations: 4 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.183, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.183, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.183, allocations: 4 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1833, allocations: 171.5 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.1833, allocations: 7.922 kB / 0.7334 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1833, allocations: 4 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.1834, allocations: 4 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.1834, allocations: 7.984 kB / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1834, allocations: 0 / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001022/0.1835, allocations: 83.27 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1835, allocations: 0 / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002286/0.1838, allocations: 12 kB / 0.7335 GB, free: 12.11 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.0001504/0.1839, allocations: 103.2 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1842, allocations: 39.95 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1842, allocations: 0 / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1843, allocations: 31.91 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1846, allocations: 4 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.1849, allocations: 139.2 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.185, allocations: 67.34 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.185, allocations: 11.44 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.185, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.002488/0.1875, allocations: 0.7406 MB / 0.7346 GB, free: 10.92 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: 7.898742901161313] Failed to read output from testmodel.py, exit status != 0: 0.19644028414040804 0.212741501 0.030799577 Calling exit ...