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.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.001317/0.001317, allocations: 109.3 kB / 17.8 MB, free: 5.328 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.001344/0.001344, allocations: 192.5 kB / 20.74 MB, free: 2.387 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.542/1.542, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.967/0.967, allocations: 149.7 MB / 453.7 MB, free: 10.8 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.58 kB / 0.6285 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 87.85 MB / 0.7143 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.003121/0.1625, allocations: 1.505 MB / 0.7158 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000425/0.163, allocations: 131.6 kB / 0.7159 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.163, allocations: 4 kB / 0.7159 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1631, allocations: 3.938 kB / 0.7159 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.1631, allocations: 0 / 0.7159 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1634, allocations: 31.83 kB / 0.7159 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.1635, allocations: 27.92 kB / 0.716 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1636, allocations: 8 kB / 0.716 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.1636, allocations: 15.92 kB / 0.716 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.1637, allocations: 11.98 kB / 0.716 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1637, allocations: 4 kB / 0.716 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.1638, allocations: 11.94 kB / 0.716 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.1638, allocations: 19.97 kB / 0.716 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.1638, allocations: 7.938 kB / 0.716 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.164, allocations: 39.83 kB / 0.7161 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.164, allocations: 0 / 0.7161 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.164, allocations: 0 / 0.7161 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.164, allocations: 0 / 0.7161 GB, free: 9.828 MB / 0.5294 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.0005607/0.1645, allocations: 343.4 kB / 0.7164 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1646, allocations: 8.031 kB / 0.7164 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1646, allocations: 4.938 kB / 0.7164 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1648, allocations: 172.4 kB / 0.7166 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1648, allocations: 384 / 0.7166 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1648, allocations: 4.375 kB / 0.7166 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.165, allocations: 62.16 kB / 0.7166 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.165, allocations: 192 / 0.7166 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.165, allocations: 7.938 kB / 0.7167 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.165, allocations: 0 / 0.7167 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1652, allocations: 39.95 kB / 0.7167 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1657, allocations: 268.9 kB / 0.717 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.166, allocations: 58.42 kB / 0.717 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1661, allocations: 28.89 kB / 0.717 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.1663, allocations: 81.11 kB / 0.7171 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1663, allocations: 34.56 kB / 0.7171 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1663, allocations: 0 / 0.7171 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000395/0.1667, allocations: 89.62 kB / 0.7172 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1667, allocations: 51.41 kB / 0.7173 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.1668, allocations: 109.8 kB / 0.7174 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1668, allocations: 29.64 kB / 0.7174 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1669, allocations: 92.09 kB / 0.7175 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1669, allocations: 3.953 kB / 0.7175 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.167, allocations: 17.72 kB / 0.7175 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1671, allocations: 318.8 kB / 0.7178 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.1672, allocations: 15.98 kB / 0.7178 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.1673, allocations: 15.98 kB / 0.7179 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1675, allocations: 48.81 kB / 0.7179 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1675, allocations: 3.938 kB / 0.7179 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002236/0.1677, allocations: 81.58 kB / 0.718 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1677, allocations: 5.562 kB / 0.718 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1677, allocations: 3.938 kB / 0.718 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1677, allocations: 4.516 kB / 0.718 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1678, allocations: 7.984 kB / 0.718 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1678, allocations: 8 kB / 0.718 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.1679, allocations: 0 / 0.718 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1679, allocations: 4 kB / 0.718 GB, free: 7.602 MB / 0.5294 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 0.000103/0.168, allocations: 121.7 kB / 0.7181 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.168, allocations: 4 kB / 0.7181 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1683, allocations: 81.12 kB / 0.7182 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1683, allocations: 4 kB / 0.7182 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1683, allocations: 4 kB / 0.7182 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1683, allocations: 0 / 0.7182 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1685, allocations: 165.6 kB / 0.7184 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1685, allocations: 0 / 0.7184 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.1686, allocations: 19.92 kB / 0.7184 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1686, allocations: 0 / 0.7184 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1686, allocations: 0 / 0.7184 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1686, allocations: 0 / 0.7184 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1686, allocations: 4 kB / 0.7184 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1689, allocations: 171.4 kB / 0.7186 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1689, allocations: 85.09 kB / 0.7186 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1689, allocations: 0 / 0.7186 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.169, allocations: 4 kB / 0.7187 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1691, allocations: 11.92 kB / 0.7187 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1691, allocations: 4 kB / 0.7187 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.1691, allocations: 83.28 kB / 0.7187 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1691, allocations: 0 / 0.7187 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002281/0.1694, allocations: 4 kB / 0.7187 GB, free: 6.746 MB / 0.5294 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.0001918/0.1696, allocations: 111.2 kB / 0.7189 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1698, allocations: 39.95 kB / 0.7189 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1698, allocations: 0 / 0.7189 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.1699, allocations: 27.98 kB / 0.7189 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1702, allocations: 7.922 kB / 0.7189 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.1705, allocations: 143.3 kB / 0.7191 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1708, allocations: 0.6806 MB / 0.7197 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1709, allocations: 11.44 kB / 0.7197 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1709, allocations: 0 / 0.7197 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.002588/0.1735, allocations: 0.7345 MB / 0.7205 GB, free: 4.922 MB / 0.5294 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.948887416976504] Failed to read output from testmodel.py, exit status != 0: 0.18113665899727494 0.19772233599999994 0.030430034 Calling exit ...