Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0009898/0.0009898, allocations: 82.64 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001376/0.001376, allocations: 162.5 kB / 24.87 MB, free: 8.891 MB / 18.57 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 0.9577/0.9577, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5967/0.5967, allocations: 110.3 MB / 372.1 MB, free: 12.38 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 476.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.195e-05, allocations: 9.516 kB / 476.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001831/0.001853, allocations: 1.57 MB / 478 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.00209, allocations: 120 kB / 478.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.00212, allocations: 2.156 kB / 478.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002141, allocations: 6.562 kB / 478.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.00218, allocations: 3.938 kB / 478.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.002378, allocations: 32 kB / 478.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.002431, allocations: 28.48 kB / 478.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.002502, allocations: 6.625 kB / 478.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.002545, allocations: 17.28 kB / 478.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.002583, allocations: 18.12 kB / 478.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.002596, allocations: 2.906 kB / 478.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.002647, allocations: 7.875 kB / 478.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.00266, allocations: 11.31 kB / 478.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.002673, allocations: 6.625 kB / 478.3 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.002764, allocations: 26.7 kB / 478.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002767, allocations: 3.25 kB / 478.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002767, allocations: 0.7812 kB / 478.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.00277, allocations: 0 / 478.3 MB, free: 13.81 MB / 410.7 MB 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.0002364/0.003007, allocations: 377.1 kB / 478.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.003035, allocations: 10.94 kB / 478.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.00306, allocations: 5.281 kB / 478.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.964e-05/0.003109, allocations: 114.9 kB / 478.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.003124, allocations: 4.375 kB / 478.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.003132, allocations: 3.094 kB / 478.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.003219, allocations: 54.61 kB / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003225, allocations: 192 / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.003232, allocations: 6.969 kB / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003236, allocations: 1.375 kB / 478.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.003258, allocations: 13.19 kB / 478.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.003437, allocations: 248.5 kB / 479.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.003558, allocations: 47.08 kB / 479.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.003572, allocations: 11.84 kB / 479.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.003622, allocations: 2.75 kB / 479.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.003634, allocations: 36.27 kB / 479.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.003635, allocations: 0.6562 kB / 479.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.003745, allocations: 58.52 kB / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.003762, allocations: 52.22 kB / 479.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.632e-05/0.003798, allocations: 163.2 kB / 479.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-06/0.003803, allocations: 26.64 kB / 479.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.004002, allocations: 134.8 kB / 479.6 MB, free: 28.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.004015, allocations: 10.02 kB / 479.7 MB, free: 28.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.004036, allocations: 18.44 kB / 479.7 MB, free: 28.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.004132, allocations: 499.5 kB / 480.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.004143, allocations: 2.688 kB / 480.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.004152, allocations: 3.094 kB / 480.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.004178, allocations: 26.89 kB / 480.2 MB, free: 27.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.00418, allocations: 0 / 480.2 MB, free: 27.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.682e-05/0.004226, allocations: 39.84 kB / 480.2 MB, free: 27.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004237, allocations: 5.312 kB / 480.2 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.00424, allocations: 4.656 kB / 480.2 MB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.004247, allocations: 7.922 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.294e-05/0.00429, allocations: 16.27 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004292, allocations: 0 / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.00431, allocations: 3.188 kB / 480.3 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.004314, allocations: 0 / 480.3 MB, free: 27.86 MB / 426.7 MB 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 5.285e-05/0.004366, allocations: 160.8 kB / 480.4 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.004383, allocations: 5.844 kB / 480.4 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.004448, allocations: 52.48 kB / 480.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.004449, allocations: 8.156 kB / 480.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004451, allocations: 0 / 480.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004454, allocations: 0 / 480.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.829e-05/0.004522, allocations: 99.69 kB / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004522, allocations: 0 / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.004548, allocations: 9.547 kB / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.004549, allocations: 0 / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.004553, allocations: 3.156 kB / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004554, allocations: 2.625 kB / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004554, allocations: 0 / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.004639, allocations: 203.7 kB / 480.8 MB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-06/0.004643, allocations: 0 / 480.8 MB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.004651, allocations: 2.812 kB / 480.8 MB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.004683, allocations: 3.328 kB / 480.8 MB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.004715, allocations: 13.92 kB / 480.8 MB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.004718, allocations: 3.406 kB / 480.8 MB, free: 27.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.004751, allocations: 121.9 kB / 480.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004751, allocations: 0.625 kB / 480.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.004896, allocations: 6.219 kB / 481 MB, free: 27.21 MB / 426.7 MB 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 8.239e-05/0.004978, allocations: 109.6 kB / 481.1 MB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.999e-05/0.005038, allocations: 22.2 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005039, allocations: 0 / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.005057, allocations: 19.19 kB / 481.1 MB, free: 27.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.005211, allocations: 10.16 kB / 481.1 MB, free: 27.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.005372, allocations: 117.3 kB / 481.2 MB, free: 26.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.932e-05/0.005391, allocations: 58.67 kB / 481.3 MB, free: 26.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.005409, allocations: 7.641 kB / 481.3 MB, free: 26.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.005447, allocations: 70.11 kB / 481.4 MB, free: 26.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.005448, allocations: 3.781 kB / 481.4 MB, free: 26.82 MB / 426.7 MB Notification: Performance of Templates: time 0.001956/0.007404, allocations: 0.8439 MB / 482.2 MB, free: 26.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4935062676668167]