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.0009927/0.0009927, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.000903/0.000903, allocations: 161.3 kB / 23.52 MB, free: 0.918 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.091/1.091, allocations: 177.2 MB / 203.9 MB, free: 5.59 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.6596/0.6596, allocations: 110.2 MB / 370.6 MB, free: 12.46 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.352e-06/1.352e-06, allocations: 0 / 474.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.574e-05, allocations: 4.219 kB / 474.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001115/0.001141, allocations: 0.5927 MB / 475.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.001377, allocations: 45.02 kB / 475.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.0014, allocations: 0 / 475.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.001419, allocations: 0.7188 kB / 475.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.001426, allocations: 1.969 kB / 475.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.001676, allocations: 21.09 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.001726, allocations: 4.688 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.001773, allocations: 3.281 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.001804, allocations: 2.625 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.449e-05/0.001828, allocations: 0 / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.001842, allocations: 0 / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.001921, allocations: 12.53 kB / 475.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.001933, allocations: 11.83 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.001948, allocations: 2.625 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.002041, allocations: 9.953 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002043, allocations: 2.625 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002044, allocations: 0 / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.002052, allocations: 0 / 475.2 MB, free: 14.79 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.0002226/0.002275, allocations: 238.8 kB / 475.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.002316, allocations: 7.875 kB / 475.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.002357, allocations: 3.562 kB / 475.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.293e-05/0.0024, allocations: 105.7 kB / 475.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.002412, allocations: 4 kB / 475.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.002424, allocations: 4.375 kB / 475.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.00252, allocations: 33.17 kB / 475.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.002528, allocations: 192 / 475.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.002538, allocations: 3 kB / 475.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.002544, allocations: 1.5 kB / 475.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.00258, allocations: 6.562 kB / 475.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.002685, allocations: 99.95 kB / 475.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.00274, allocations: 28.05 kB / 475.7 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.002758, allocations: 4.859 kB / 475.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.002904, allocations: 6.375 kB / 475.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.002922, allocations: 40.47 kB / 475.8 MB, free: 14.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.002923, allocations: 0 / 475.8 MB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.003078, allocations: 34.58 kB / 475.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.0031, allocations: 51.41 kB / 475.8 MB, free: 14.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.939e-05/0.003119, allocations: 99.89 kB / 475.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.003125, allocations: 28.98 kB / 476 MB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-06/0.003132, allocations: 80.14 kB / 476 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.003152, allocations: 7.891 kB / 476.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.003175, allocations: 18.91 kB / 476.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.003452, allocations: 318.8 kB / 476.4 MB, free: 29.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.003467, allocations: 2.906 kB / 476.4 MB, free: 29.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.003474, allocations: 0 / 476.4 MB, free: 29.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.003514, allocations: 16.03 kB / 476.4 MB, free: 29.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003515, allocations: 1.281 kB / 476.4 MB, free: 29.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.548e-05/0.003561, allocations: 42.12 kB / 476.4 MB, free: 29.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.003572, allocations: 5.812 kB / 476.4 MB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003578, allocations: 0.5 kB / 476.4 MB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.003594, allocations: 7.469 kB / 476.5 MB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.003646, allocations: 8.031 kB / 476.5 MB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.003651, allocations: 0 / 476.5 MB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.097e-05/0.003662, allocations: 3.938 kB / 476.5 MB, free: 29.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.003667, allocations: 2.625 kB / 476.5 MB, free: 29.44 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 4.393e-05/0.003711, allocations: 107.8 kB / 476.6 MB, free: 29.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.003716, allocations: 6.625 kB / 476.6 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.003794, allocations: 40.44 kB / 476.6 MB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.003797, allocations: 1.156 kB / 476.6 MB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.0038, allocations: 0 / 476.6 MB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.003803, allocations: 0 / 476.6 MB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.925e-05/0.003843, allocations: 107.3 kB / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.003844, allocations: 0.6875 kB / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-06/0.003854, allocations: 4.812 kB / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.003855, allocations: 0 / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.003861, allocations: 2.625 kB / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.003861, allocations: 0 / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.003863, allocations: 3.938 kB / 476.7 MB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.031e-05/0.003903, allocations: 67.41 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.003907, allocations: 2.312 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.003916, allocations: 2.625 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-06/0.003921, allocations: 3.375 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.003951, allocations: 0 / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.003954, allocations: 2.625 kB / 476.8 MB, free: 29.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.062e-05/0.003974, allocations: 75.28 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003974, allocations: 0.625 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.004102, allocations: 6.562 kB / 476.9 MB, free: 29.01 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 0.0001043/0.004206, allocations: 119.3 kB / 477 MB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.477e-05/0.004271, allocations: 11.81 kB / 477 MB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004272, allocations: 0 / 477 MB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.004282, allocations: 3.219 kB / 477 MB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.004379, allocations: 2.625 kB / 477 MB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.004546, allocations: 88.03 kB / 477.1 MB, free: 28.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.597e-05/0.004572, allocations: 59.86 kB / 477.2 MB, free: 28.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.004583, allocations: 8.859 kB / 477.2 MB, free: 28.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.004596, allocations: 11.12 kB / 477.2 MB, free: 28.73 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004596, allocations: 0 / 477.2 MB, free: 28.73 MB / 426.7 MB Notification: Performance of Templates: time 0.001776/0.006372, allocations: 354.1 kB / 477.5 MB, free: 28.68 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=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.701984655112028] Failed to read output from testmodel.py, exit status != 0: 0.010915623977780342 0.019509177000000003 0.015518264 Calling exit ...