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.0009265/0.0009265, allocations: 77.97 kB / 20.68 MB, free: 3.805 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.001127/0.001127, allocations: 173 kB / 24.09 MB, free: 412 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.9993/0.9993, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.6295/0.6295, allocations: 110.3 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.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.433e-06/1.433e-06, allocations: 0 / 475.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.201e-05, allocations: 4.828 kB / 475.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001126/0.001148, allocations: 0.6032 MB / 476.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.001349, allocations: 56.67 kB / 476.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.001368, allocations: 0 / 476.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.001383, allocations: 0 / 476.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.001389, allocations: 1.125 kB / 476.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.001595, allocations: 5.25 kB / 476.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.847e-05/0.001633, allocations: 18.53 kB / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.001667, allocations: 1.375 kB / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.001698, allocations: 2.844 kB / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.001714, allocations: 0 / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.001725, allocations: 0 / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.001799, allocations: 14.64 kB / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.001807, allocations: 0 / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.957e-06/0.001816, allocations: 0 / 476.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.987e-05/0.001896, allocations: 12.61 kB / 476.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.001898, allocations: 0 / 476.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.001898, allocations: 0 / 476.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.001901, allocations: 0.7188 kB / 476.4 MB, free: 14.61 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.000168/0.002069, allocations: 347.6 kB / 476.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.002104, allocations: 13.84 kB / 476.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.002129, allocations: 3.562 kB / 476.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.512e-05/0.002174, allocations: 104.6 kB / 476.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.002185, allocations: 384 / 476.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.002193, allocations: 3 kB / 476.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.867e-05/0.002262, allocations: 33.02 kB / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.002269, allocations: 4.125 kB / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.002275, allocations: 2.406 kB / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00228, allocations: 4.359 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.002298, allocations: 6.562 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.527e-05/0.002383, allocations: 95.89 kB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.002424, allocations: 32.16 kB / 477 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.002436, allocations: 10.31 kB / 477.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.002551, allocations: 3.438 kB / 477.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.00257, allocations: 39.25 kB / 477.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.002571, allocations: 0.625 kB / 477.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.00268, allocations: 45.02 kB / 477.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.002699, allocations: 51.41 kB / 477.2 MB, free: 13.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.003013, allocations: 148.9 kB / 477.3 MB, free: 29.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.00302, allocations: 25.7 kB / 477.4 MB, free: 29.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.003047, allocations: 130.2 kB / 477.5 MB, free: 29.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.003064, allocations: 4.297 kB / 477.5 MB, free: 29.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.003087, allocations: 18 kB / 477.5 MB, free: 29.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003554/0.003442, allocations: 498.7 kB / 478 MB, free: 28.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.003451, allocations: 0 / 478 MB, free: 28.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.003457, allocations: 3.281 kB / 478 MB, free: 28.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.003485, allocations: 24.86 kB / 478 MB, free: 28.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.003486, allocations: 0.6562 kB / 478 MB, free: 28.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.458e-05/0.003531, allocations: 34.64 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.003542, allocations: 7.75 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.003547, allocations: 0 / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.003557, allocations: 0.9375 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.003598, allocations: 5.953 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.003601, allocations: 4 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.003611, allocations: 3.625 kB / 478.1 MB, free: 28.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-06/0.003614, allocations: 0 / 478.1 MB, free: 28.87 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.095e-05/0.003665, allocations: 161.4 kB / 478.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-06/0.00367, allocations: 6.625 kB / 478.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.003735, allocations: 42.56 kB / 478.3 MB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.003737, allocations: 2.625 kB / 478.3 MB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.003739, allocations: 0 / 478.3 MB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.003742, allocations: 0.5 kB / 478.3 MB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.003789, allocations: 104.2 kB / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00379, allocations: 0 / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.003803, allocations: 3.938 kB / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.003804, allocations: 0 / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.003808, allocations: 6.625 kB / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.003809, allocations: 0 / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00381, allocations: 1.406 kB / 478.4 MB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.248e-05/0.003852, allocations: 78.25 kB / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.003856, allocations: 3.938 kB / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-06/0.003862, allocations: 1.562 kB / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-06/0.003867, allocations: 0 / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.003886, allocations: 6.094 kB / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-06/0.003887, allocations: 0 / 478.5 MB, free: 28.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.003913, allocations: 124.8 kB / 478.6 MB, free: 28.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003913, allocations: 0 / 478.6 MB, free: 28.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.004029, allocations: 6.625 kB / 478.6 MB, free: 28.32 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.475e-05/0.004124, allocations: 97.62 kB / 478.7 MB, free: 28.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.245e-05/0.004176, allocations: 16.12 kB / 478.7 MB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004178, allocations: 2.625 kB / 478.7 MB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.004189, allocations: 14.88 kB / 478.7 MB, free: 28.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.336e-05/0.004272, allocations: 7.25 kB / 478.8 MB, free: 28.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001283/0.0044, allocations: 96.05 kB / 478.9 MB, free: 28.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.697e-05/0.004417, allocations: 51.86 kB / 478.9 MB, free: 28.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.034e-05/0.004428, allocations: 2.625 kB / 478.9 MB, free: 28.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.004454, allocations: 73.55 kB / 479 MB, free: 27.96 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.004455, allocations: 0 / 479 MB, free: 27.96 MB / 426.7 MB Notification: Performance of Templates: time 0.001857/0.006312, allocations: 377.9 kB / 479.3 MB, free: 27.92 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.5056320219300687]