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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 110.5 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 190.8 kB / 20.78 MB, free: 1.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9645/0.9645, allocations: 145.2 MB / 449.7 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001929/0.001929, allocations: 73.98 kB / 0.6232 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2006, allocations: 86.65 MB / 0.7078 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001861/0.2025, allocations: 0.5788 MB / 0.7084 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.2028, allocations: 60.17 kB / 0.7085 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.2028, allocations: 4 kB / 0.7085 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.2028, allocations: 4 kB / 0.7085 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.2028, allocations: 0 / 0.7085 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2031, allocations: 4 kB / 0.7085 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.2031, allocations: 4 kB / 0.7085 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.2032, allocations: 7.984 kB / 0.7085 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.2032, allocations: 0 / 0.7085 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.2032, allocations: 3.938 kB / 0.7085 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2032, allocations: 0 / 0.7085 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.2033, allocations: 11.94 kB / 0.7085 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.2033, allocations: 3.984 kB / 0.7085 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.2033, allocations: 8 kB / 0.7085 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.2034, allocations: 11.92 kB / 0.7085 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.2034, allocations: 4 kB / 0.7085 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2034, allocations: 0 / 0.7085 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2034, allocations: 0 / 0.7085 GB, free: 1.07 MB / 0.5137 GB 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.000391/0.2038, allocations: 321.8 kB / 0.7088 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2039, allocations: 8.031 kB / 0.7088 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.2039, allocations: 4.938 kB / 0.7088 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.204, allocations: 164.3 kB / 0.709 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2041, allocations: 4.375 kB / 0.709 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2041, allocations: 384 / 0.709 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2042, allocations: 38.25 kB / 0.709 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2042, allocations: 192 / 0.709 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2042, allocations: 3.938 kB / 0.709 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2042, allocations: 0 / 0.709 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.2042, allocations: 7.938 kB / 0.7091 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.2044, allocations: 145.7 kB / 0.7092 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.2045, allocations: 30.59 kB / 0.7092 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2045, allocations: 4.859 kB / 0.7092 GB, free: 204 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.2047, allocations: 81.17 kB / 0.7093 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.2047, allocations: 30.56 kB / 0.7093 GB, free: 64 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.2047, allocations: 3.984 kB / 0.7093 GB, free: 60 kB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.2049, allocations: 49.56 kB / 0.7094 GB, free: 4 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.2049, allocations: 55.41 kB / 0.7094 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.205, allocations: 97.94 kB / 0.7095 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.205, allocations: 29.7 kB / 0.7096 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.2051, allocations: 80.14 kB / 0.7096 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2051, allocations: 0 / 0.7096 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.2051, allocations: 17.7 kB / 0.7096 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2053, allocations: 310.8 kB / 0.7099 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.2053, allocations: 0 / 0.7099 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.2053, allocations: 8 kB / 0.71 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.2053, allocations: 12.92 kB / 0.71 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2053, allocations: 0 / 0.71 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.002e-05/0.2054, allocations: 45.62 kB / 0.71 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2054, allocations: 8 kB / 0.71 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2054, allocations: 4 kB / 0.71 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2055, allocations: 3.938 kB / 0.71 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.2055, allocations: 0 / 0.71 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2055, allocations: 7.984 kB / 0.71 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.2055, allocations: 0 / 0.71 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2055, allocations: 4.031 kB / 0.71 GB, free: 15.28 MB / 0.5294 GB 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 8.377e-05/0.2056, allocations: 105.8 kB / 0.7101 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.2056, allocations: 11.92 kB / 0.7101 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.2057, allocations: 48.64 kB / 0.7102 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2057, allocations: 4 kB / 0.7102 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2057, allocations: 0 / 0.7102 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2058, allocations: 0 / 0.7102 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.2059, allocations: 153.7 kB / 0.7103 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2059, allocations: 0 / 0.7103 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.2059, allocations: 8.031 kB / 0.7104 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2059, allocations: 0 / 0.7104 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2059, allocations: 3.938 kB / 0.7104 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2059, allocations: 0 / 0.7104 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2059, allocations: 7.984 kB / 0.7104 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.206, allocations: 61.09 kB / 0.7104 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.2061, allocations: 77.11 kB / 0.7105 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2061, allocations: 11.95 kB / 0.7105 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.2061, allocations: 0 / 0.7105 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2061, allocations: 4 kB / 0.7105 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2061, allocations: 3.938 kB / 0.7105 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.2062, allocations: 75.28 kB / 0.7106 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2062, allocations: 0 / 0.7106 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001862/0.2064, allocations: 7.938 kB / 0.7106 GB, free: 14.61 MB / 0.5294 GB 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.0001971/0.2066, allocations: 99.25 kB / 0.7107 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.2066, allocations: 19.98 kB / 0.7107 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2066, allocations: 0 / 0.7107 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.2067, allocations: 4 kB / 0.7107 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2068, allocations: 1.719 kB / 0.7107 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.2071, allocations: 108.8 kB / 0.7108 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2074, allocations: 0.6767 MB / 0.7115 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.2074, allocations: 0 / 0.7115 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.2075, allocations: 7.438 kB / 0.7115 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2075, allocations: 4.125 kB / 0.7115 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.002951/0.2104, allocations: 324.5 kB / 0.7118 GB, free: 13.31 MB / 0.5294 GB " [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: 6.003839455544949]