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.001019/0.001019, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.00202/0.00202, allocations: 181.4 kB / 24.09 MB, free: 416 kB / 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 1.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.6443/0.6443, allocations: 110.2 MB / 371.3 MB, free: 12.35 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.362e-06/1.362e-06, allocations: 0 / 475.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.512e-05, allocations: 3.75 kB / 475.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001892/0.001907, allocations: 1.576 MB / 477.2 MB, free: 14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.002188, allocations: 125.4 kB / 477.3 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002227, allocations: 6.219 kB / 477.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.002251, allocations: 0 / 477.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.002291, allocations: 3.938 kB / 477.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.002498, allocations: 27.95 kB / 477.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.002555, allocations: 29.06 kB / 477.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.002628, allocations: 10.66 kB / 477.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.002679, allocations: 13.12 kB / 477.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.002719, allocations: 21.67 kB / 477.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.002732, allocations: 2.969 kB / 477.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.00279, allocations: 8.5 kB / 477.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.002806, allocations: 7.938 kB / 477.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.00282, allocations: 6.938 kB / 477.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.002909, allocations: 38.22 kB / 477.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002911, allocations: 1.031 kB / 477.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002912, allocations: 0 / 477.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.002914, allocations: 0 / 477.5 MB, free: 13.84 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.0002588/0.003173, allocations: 369.6 kB / 477.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.003208, allocations: 11.19 kB / 477.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.003236, allocations: 5.281 kB / 477.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.057e-05/0.003286, allocations: 108.6 kB / 478 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.003301, allocations: 2.875 kB / 478 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.00331, allocations: 6.875 kB / 478 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.00341, allocations: 59.95 kB / 478.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003416, allocations: 1.656 kB / 478.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.003423, allocations: 384 / 478.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.003428, allocations: 384 / 478.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.003455, allocations: 18.22 kB / 478.1 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.00365, allocations: 245.6 kB / 478.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.003793, allocations: 45.81 kB / 478.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.00381, allocations: 14.31 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.003867, allocations: 6.469 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.003881, allocations: 37.33 kB / 478.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003882, allocations: 0 / 478.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001226/0.004005, allocations: 57.88 kB / 478.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.004022, allocations: 55.88 kB / 478.5 MB, free: 12.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.004225, allocations: 155.1 kB / 478.7 MB, free: 28.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-06/0.004231, allocations: 31.81 kB / 478.7 MB, free: 28.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.004269, allocations: 135.3 kB / 478.9 MB, free: 28.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.004284, allocations: 11.23 kB / 478.9 MB, free: 28.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.004314, allocations: 18.12 kB / 478.9 MB, free: 28.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.00442, allocations: 0.4908 MB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.004432, allocations: 1.938 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.004444, allocations: 6.656 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.004472, allocations: 19.47 kB / 479.4 MB, free: 27.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.004473, allocations: 0 / 479.4 MB, free: 27.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.691e-05/0.00453, allocations: 44.34 kB / 479.4 MB, free: 27.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.00454, allocations: 7.031 kB / 479.5 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004544, allocations: 0 / 479.5 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.004556, allocations: 3.938 kB / 479.5 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.0046, allocations: 9.781 kB / 479.5 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004602, allocations: 0 / 479.5 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.004625, allocations: 8.938 kB / 479.5 MB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.004629, allocations: 0 / 479.5 MB, free: 27.89 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.63e-05/0.004685, allocations: 164 kB / 479.6 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.004706, allocations: 4.094 kB / 479.6 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.004779, allocations: 50.19 kB / 479.7 MB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.004781, allocations: 8.406 kB / 479.7 MB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004783, allocations: 0 / 479.7 MB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004785, allocations: 0 / 479.7 MB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.004874, allocations: 96.09 kB / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.004876, allocations: 9.719 kB / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.004904, allocations: 6.406 kB / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.004905, allocations: 0 / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.00491, allocations: 0 / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.00491, allocations: 0 / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.004912, allocations: 3.422 kB / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.775e-05/0.005, allocations: 200.9 kB / 480 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005005, allocations: 2.656 kB / 480 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-06/0.005013, allocations: 4.688 kB / 480 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.005061, allocations: 5.938 kB / 480 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.005095, allocations: 15.75 kB / 480 MB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005098, allocations: 3.984 kB / 480 MB, free: 27.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.005126, allocations: 122.8 kB / 480.2 MB, free: 27.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005126, allocations: 0.7188 kB / 480.2 MB, free: 27.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.005331, allocations: 7.219 kB / 480.2 MB, free: 27.23 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.661e-05/0.005418, allocations: 106.3 kB / 480.3 MB, free: 27.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.00548, allocations: 28.2 kB / 480.3 MB, free: 27.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005481, allocations: 0.5625 kB / 480.3 MB, free: 27.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.005501, allocations: 13.31 kB / 480.3 MB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.005708, allocations: 7.047 kB / 480.3 MB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.005888, allocations: 117.1 kB / 480.4 MB, free: 26.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.299e-05/0.005911, allocations: 57.59 kB / 480.5 MB, free: 26.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.005933, allocations: 4.812 kB / 480.5 MB, free: 26.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.00599, allocations: 70.92 kB / 480.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005991, allocations: 0 / 480.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of Templates: time 0.002277/0.008268, allocations: 0.837 MB / 481.4 MB, free: 26.79 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.5007047168910503]