Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001196/0.001196, allocations: 92.22 kB / 20.46 MB, free: 4.117 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.001265/0.001265, allocations: 157 kB / 23.82 MB, free: 0.7539 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 1.092/1.092, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.588/0.588, allocations: 110.2 MB / 371 MB, free: 12.53 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 475.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.291e-05, allocations: 3.75 kB / 475.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001101/0.001124, allocations: 0.5997 MB / 475.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.001341, allocations: 51.62 kB / 475.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.001357, allocations: 0 / 475.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.001377, allocations: 0 / 475.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.001384, allocations: 0 / 475.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.001609, allocations: 21.11 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.001654, allocations: 2.844 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.00169, allocations: 1.031 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.001719, allocations: 2.719 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.001738, allocations: 1 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.00175, allocations: 0 / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.001831, allocations: 12.84 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.001839, allocations: 1.125 kB / 475.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.001854, allocations: 3.984 kB / 475.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.595e-05/0.00194, allocations: 17.56 kB / 476 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001942, allocations: 1 kB / 476 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.001943, allocations: 0 / 476 MB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.001948, allocations: 0 / 476 MB, free: 14.71 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002209/0.002169, allocations: 342.7 kB / 476.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.002205, allocations: 8.531 kB / 476.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.002242, allocations: 7.938 kB / 476.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.351e-05/0.002286, allocations: 105.6 kB / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.002298, allocations: 384 / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.002306, allocations: 7.75 kB / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.00239, allocations: 32.55 kB / 476.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.002397, allocations: 192 / 476.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.002405, allocations: 1.375 kB / 476.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.002413, allocations: 384 / 476.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.002437, allocations: 11.44 kB / 476.5 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.413e-05/0.002532, allocations: 114.9 kB / 476.6 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.002583, allocations: 33.2 kB / 476.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.002599, allocations: 10.38 kB / 476.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.002723, allocations: 6.469 kB / 476.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.002741, allocations: 39.92 kB / 476.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.002742, allocations: 0.5 kB / 476.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000128/0.00287, allocations: 40.3 kB / 476.7 MB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.002895, allocations: 54.5 kB / 476.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.003153, allocations: 142.2 kB / 476.9 MB, free: 29.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.003158, allocations: 26.23 kB / 476.9 MB, free: 29.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.003178, allocations: 135.3 kB / 477.1 MB, free: 29.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.003194, allocations: 4.297 kB / 477.1 MB, free: 29.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.003215, allocations: 18.41 kB / 477.1 MB, free: 29.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.003306, allocations: 496.1 kB / 477.6 MB, free: 28.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.00332, allocations: 7.547 kB / 477.6 MB, free: 28.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.003327, allocations: 0 / 477.6 MB, free: 28.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.003358, allocations: 18.5 kB / 477.6 MB, free: 28.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.00336, allocations: 4 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.094e-05/0.003401, allocations: 41.91 kB / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.003413, allocations: 5.625 kB / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.003417, allocations: 0 / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.003429, allocations: 1.594 kB / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.00348, allocations: 2.625 kB / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003485, allocations: 3.156 kB / 477.6 MB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.003496, allocations: 7.938 kB / 477.7 MB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.0035, allocations: 0.625 kB / 477.7 MB, free: 28.93 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.189e-05/0.003552, allocations: 156.3 kB / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-06/0.003556, allocations: 3.469 kB / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.003623, allocations: 46.64 kB / 477.9 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.003625, allocations: 0 / 477.9 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.003629, allocations: 7.312 kB / 477.9 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.003631, allocations: 0 / 477.9 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.519e-05/0.003677, allocations: 111.2 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.003678, allocations: 0.6562 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.003688, allocations: 2.812 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.003689, allocations: 0.8125 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.003695, allocations: 3.156 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.003695, allocations: 1.156 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.003697, allocations: 3.328 kB / 478 MB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.82e-05/0.003735, allocations: 77.11 kB / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.00374, allocations: 10.11 kB / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.003749, allocations: 0 / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-06/0.003753, allocations: 0 / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.003778, allocations: 6.562 kB / 478.1 MB, free: 28.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.00378, allocations: 0 / 478.1 MB, free: 28.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.003808, allocations: 119.2 kB / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003808, allocations: 0 / 478.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001167/0.003924, allocations: 9.406 kB / 478.2 MB, free: 28.37 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.682e-05/0.004021, allocations: 104.4 kB / 478.3 MB, free: 28.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.00409, allocations: 16.38 kB / 478.3 MB, free: 28.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.004091, allocations: 0 / 478.3 MB, free: 28.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.004102, allocations: 15.12 kB / 478.3 MB, free: 28.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.007e-05/0.004192, allocations: 2.75 kB / 478.3 MB, free: 28.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.004345, allocations: 94.03 kB / 478.4 MB, free: 28.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.02e-05/0.004365, allocations: 54.78 kB / 478.5 MB, free: 28.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.148e-05/0.004377, allocations: 7.922 kB / 478.5 MB, free: 28.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.004391, allocations: 10.59 kB / 478.5 MB, free: 28.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.004392, allocations: 1.156 kB / 478.5 MB, free: 28.07 MB / 426.7 MB Notification: Performance of Templates: time 0.001985/0.006377, allocations: 365.6 kB / 478.9 MB, free: 28.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8206034563481808]