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.001607/0.001607, allocations: 84.39 kB / 20.23 MB, free: 4.195 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.001773/0.001773, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.466/1.466, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9166/0.9166, allocations: 110.3 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.523e-06/1.523e-06, allocations: 0 / 474.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.477e-05, allocations: 6.078 kB / 474.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001331/0.001356, allocations: 0.5875 MB / 475.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.001579, allocations: 42.45 kB / 475.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.001596, allocations: 0 / 475.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.001609, allocations: 2.281 kB / 475.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.001615, allocations: 0 / 475.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.001843, allocations: 16.16 kB / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.001884, allocations: 1.781 kB / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.001927, allocations: 10.02 kB / 475.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.001956, allocations: 5.938 kB / 475.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.001977, allocations: 0.5312 kB / 475.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.00199, allocations: 1.312 kB / 475.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/0.002065, allocations: 12.52 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.002074, allocations: 0 / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.002094, allocations: 2.656 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.417e-05/0.002178, allocations: 14.98 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.00218, allocations: 0 / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.002181, allocations: 3.375 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.002186, allocations: 0 / 475.2 MB, free: 14.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002362/0.002422, allocations: 245 kB / 475.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.002456, allocations: 8.5 kB / 475.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.002502, allocations: 0.9375 kB / 475.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.914e-05/0.002551, allocations: 108.6 kB / 475.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.002565, allocations: 384 / 475.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.002574, allocations: 1.5 kB / 475.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.002663, allocations: 35.06 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.002671, allocations: 1.25 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-06/0.002679, allocations: 384 / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.002683, allocations: 384 / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.00272, allocations: 11.88 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.978e-05/0.00282, allocations: 100.3 kB / 475.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.002876, allocations: 27.23 kB / 475.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.002895, allocations: 16.05 kB / 475.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.003036, allocations: 2.406 kB / 475.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.003056, allocations: 33.28 kB / 475.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.003057, allocations: 0.6562 kB / 475.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.003213, allocations: 45.36 kB / 475.8 MB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.003246, allocations: 51.41 kB / 475.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.421e-05/0.00327, allocations: 89.86 kB / 476 MB, free: 14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.003278, allocations: 25.7 kB / 476 MB, free: 13.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.188e-05/0.003289, allocations: 87.02 kB / 476.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.003307, allocations: 4.609 kB / 476.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.003333, allocations: 19.92 kB / 476.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003321/0.003665, allocations: 315.6 kB / 476.4 MB, free: 29.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.003678, allocations: 3.094 kB / 476.4 MB, free: 29.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.003685, allocations: 0.625 kB / 476.4 MB, free: 29.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.003723, allocations: 22.22 kB / 476.4 MB, free: 29.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.003724, allocations: 0 / 476.4 MB, free: 29.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.045e-05/0.003775, allocations: 35.86 kB / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.003787, allocations: 5.25 kB / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.003793, allocations: 0 / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.003811, allocations: 0 / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.003869, allocations: 9.75 kB / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.003875, allocations: 0 / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.00389, allocations: 4.594 kB / 476.5 MB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.003894, allocations: 6.625 kB / 476.5 MB, free: 29.49 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 7.795e-05/0.003972, allocations: 106.5 kB / 476.6 MB, free: 29.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.00398, allocations: 3.25 kB / 476.6 MB, free: 29.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.004061, allocations: 45.2 kB / 476.6 MB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004062, allocations: 0 / 476.6 MB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.004067, allocations: 0 / 476.6 MB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.00407, allocations: 0.6875 kB / 476.6 MB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.261e-05/0.004132, allocations: 103.2 kB / 476.8 MB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004133, allocations: 0.9375 kB / 476.8 MB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.004155, allocations: 2.562 kB / 476.8 MB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004156, allocations: 3.812 kB / 476.8 MB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.004163, allocations: 0 / 476.8 MB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.004165, allocations: 7.938 kB / 476.8 MB, free: 29.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004166, allocations: 4.844 kB / 476.8 MB, free: 29.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.417e-05/0.00423, allocations: 66.45 kB / 476.8 MB, free: 29.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-06/0.004235, allocations: 3.75 kB / 476.8 MB, free: 29.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.004246, allocations: 0 / 476.8 MB, free: 29.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.004257, allocations: 0 / 476.8 MB, free: 29.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.004293, allocations: 10.66 kB / 476.8 MB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004295, allocations: 0.9062 kB / 476.8 MB, free: 29.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.004341, allocations: 75.28 kB / 476.9 MB, free: 29.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004341, allocations: 0 / 476.9 MB, free: 29.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.004569, allocations: 7.25 kB / 476.9 MB, free: 29.06 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.0001506/0.004719, allocations: 108.6 kB / 477 MB, free: 28.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.004796, allocations: 11.75 kB / 477 MB, free: 28.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.004798, allocations: 0 / 477 MB, free: 28.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.004813, allocations: 4.344 kB / 477.1 MB, free: 28.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.004952, allocations: 7.844 kB / 477.1 MB, free: 28.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.005161, allocations: 87.67 kB / 477.1 MB, free: 28.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.006e-05/0.005191, allocations: 53.83 kB / 477.2 MB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.005207, allocations: 12.84 kB / 477.2 MB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.005227, allocations: 11.44 kB / 477.2 MB, free: 28.78 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005227, allocations: 0 / 477.2 MB, free: 28.78 MB / 426.7 MB Notification: Performance of Templates: time 0.002534/0.007761, allocations: 356 kB / 477.6 MB, free: 28.72 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376078038010746]