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.001319/0.001319, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001407/0.001407, allocations: 165 kB / 24.17 MB, free: 328 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 0.9707/0.9707, allocations: 177.1 MB / 204.6 MB, free: 5.449 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.6029/0.6029, allocations: 110.3 MB / 371.3 MB, free: 12.28 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.884e-06/1.884e-06, allocations: 0 / 422.4 MB, free: 9.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.662e-05, allocations: 2.312 kB / 422.4 MB, free: 9.285 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001387/0.001424, allocations: 0.6111 MB / 423 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.001629, allocations: 47.8 kB / 423.1 MB, free: 8.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.001645, allocations: 0 / 423.1 MB, free: 8.625 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.001657, allocations: 4 kB / 423.1 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.001663, allocations: 0 / 423.1 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.001872, allocations: 15.92 kB / 423.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.001913, allocations: 0 / 423.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.00195, allocations: 4 kB / 423.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.001983, allocations: 0 / 423.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.002003, allocations: 7.984 kB / 423.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.002015, allocations: 0 / 423.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.002088, allocations: 11.98 kB / 423.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.0021, allocations: 4 kB / 423.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-06/0.002109, allocations: 0 / 423.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.057e-05/0.00218, allocations: 15.92 kB / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002182, allocations: 0 / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.002183, allocations: 0 / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.002186, allocations: 3.938 kB / 423.2 MB, free: 8.559 MB / 394.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.0001972/0.002383, allocations: 217.1 kB / 423.4 MB, free: 8.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.002413, allocations: 8.031 kB / 423.4 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.002434, allocations: 4.938 kB / 423.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.122e-05/0.002486, allocations: 105.8 kB / 423.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002495, allocations: 384 / 423.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.002504, allocations: 384 / 423.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.00257, allocations: 34.25 kB / 423.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.002577, allocations: 192 / 423.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.002583, allocations: 4.375 kB / 423.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.002588, allocations: 384 / 423.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.002605, allocations: 11.88 kB / 423.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.528e-05/0.00268, allocations: 61 kB / 423.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.002719, allocations: 26.59 kB / 423.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-06/0.002728, allocations: 4.859 kB / 423.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.002826, allocations: 4.062 kB / 423.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.002849, allocations: 30.56 kB / 423.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.00285, allocations: 4 kB / 423.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 9.232e-05/0.002942, allocations: 37.62 kB / 423.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.002975, allocations: 55.41 kB / 423.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.778e-05/0.003003, allocations: 93.86 kB / 423.9 MB, free: 7.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.003013, allocations: 25.7 kB / 423.9 MB, free: 7.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.003032, allocations: 84.27 kB / 424 MB, free: 7.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.003047, allocations: 7.922 kB / 424 MB, free: 7.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.003068, allocations: 13.72 kB / 424 MB, free: 7.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.003141, allocations: 314.8 kB / 424.3 MB, free: 7.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003149, allocations: 7.984 kB / 424.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.003154, allocations: 0 / 424.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.003179, allocations: 8.859 kB / 424.3 MB, free: 7.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.003181, allocations: 0 / 424.3 MB, free: 7.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.972e-05/0.003221, allocations: 41.62 kB / 424.3 MB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.003232, allocations: 4.094 kB / 424.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.003235, allocations: 4 kB / 424.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.003247, allocations: 0 / 424.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.003287, allocations: 11.94 kB / 424.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-06/0.003289, allocations: 0 / 424.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-06/0.003297, allocations: 0 / 424.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.003301, allocations: 0 / 424.4 MB, free: 7.203 MB / 394.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.601e-05/0.003357, allocations: 117.8 kB / 424.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-06/0.00336, allocations: 0 / 424.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.003422, allocations: 44.78 kB / 424.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.003423, allocations: 4.031 kB / 424.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.003425, allocations: 0 / 424.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.003427, allocations: 0 / 424.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.003475, allocations: 69.83 kB / 424.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.003476, allocations: 0 / 424.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.003486, allocations: 3.984 kB / 424.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.003489, allocations: 4 kB / 424.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.003492, allocations: 0 / 424.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.003493, allocations: 0 / 424.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.003494, allocations: 0 / 424.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.368e-05/0.003538, allocations: 69.05 kB / 424.7 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-06/0.003541, allocations: 4.031 kB / 424.7 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.003548, allocations: 4 kB / 424.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-06/0.003552, allocations: 0 / 424.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.003573, allocations: 3.938 kB / 424.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.003575, allocations: 0 / 424.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.894e-06/0.003582, allocations: 12.84 kB / 424.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003582, allocations: 0 / 424.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 8.979e-05/0.003672, allocations: 4 kB / 424.7 MB, free: 6.809 MB / 394.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.996e-05/0.003772, allocations: 80.42 kB / 424.8 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.094e-05/0.003823, allocations: 16.86 kB / 424.8 MB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.003825, allocations: 0 / 424.8 MB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.003837, allocations: 16.84 kB / 424.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.207e-05/0.003879, allocations: 3.938 kB / 424.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001391/0.004018, allocations: 87.3 kB / 424.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.635e-05/0.004044, allocations: 55.34 kB / 425 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.038e-05/0.004055, allocations: 7.938 kB / 425 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.00408, allocations: 47.38 kB / 425 MB, free: 6.438 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00408, allocations: 4 kB / 425 MB, free: 6.434 MB / 394.7 MB Notification: Performance of Templates: time 0.001661/0.005741, allocations: 388.8 kB / 425.4 MB, free: 6.055 MB / 394.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.23754065297544]