Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001848/0.001848, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002043/0.002043, allocations: 215.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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.9123/0.9123, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 70.59 kB / 0.6331 GB, free: 6.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1893, allocations: 87.89 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.0036/0.1929, allocations: 1.531 MB / 0.7204 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000381/0.1933, allocations: 120.5 kB / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.1933, allocations: 0 / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.1933, allocations: 0 / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.1934, allocations: 3.938 kB / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1936, allocations: 27.91 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.1937, allocations: 27.92 kB / 0.7206 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1938, allocations: 15.98 kB / 0.7206 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.1939, allocations: 15.94 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.1939, allocations: 11.97 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1939, allocations: 4 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.194, allocations: 15.92 kB / 0.7206 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.194, allocations: 11.94 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.1941, allocations: 11.92 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1942, allocations: 39.83 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1942, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1942, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1942, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005616/0.1948, allocations: 262.4 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1948, allocations: 12.02 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.1949, allocations: 38.75 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1949, allocations: 4.891 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1951, allocations: 110.5 kB / 0.7211 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1951, allocations: 384 / 0.7211 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1951, allocations: 4.375 kB / 0.7211 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1953, allocations: 62.16 kB / 0.7212 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1953, allocations: 3.938 kB / 0.7212 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1953, allocations: 4 kB / 0.7212 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1953, allocations: 4 kB / 0.7212 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.1955, allocations: 35.95 kB / 0.7212 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.196, allocations: 236 kB / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.1963, allocations: 54.47 kB / 0.7215 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.1964, allocations: 24.91 kB / 0.7215 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.1965, allocations: 15.97 kB / 0.7215 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1965, allocations: 34.56 kB / 0.7216 GB, free: 11.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1965, allocations: 0 / 0.7216 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003786/0.1969, allocations: 89.64 kB / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.197, allocations: 59.34 kB / 0.7217 GB, free: 11.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.197, allocations: 101.8 kB / 0.7218 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1971, allocations: 25.7 kB / 0.7218 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.1971, allocations: 84.14 kB / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1971, allocations: 7.953 kB / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1972, allocations: 21.7 kB / 0.7219 GB, free: 11.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1974, allocations: 314.8 kB / 0.7222 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.1975, allocations: 19.97 kB / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1975, allocations: 19.92 kB / 0.7223 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1977, allocations: 52.75 kB / 0.7223 GB, free: 11.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1977, allocations: 4 kB / 0.7223 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002183/0.1979, allocations: 77.61 kB / 0.7224 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1979, allocations: 10.44 kB / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1979, allocations: 0 / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.198, allocations: 0 / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.198, allocations: 11.98 kB / 0.7224 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.198, allocations: 0 / 0.7224 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1981, allocations: 15.92 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1981, allocations: 0 / 0.7225 GB, free: 10.98 MB / 0.545 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 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001038/0.1982, allocations: 113.8 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1982, allocations: 4 kB / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1985, allocations: 85.33 kB / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1985, allocations: 0 / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1985, allocations: 0 / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1985, allocations: 0 / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.1987, allocations: 132.7 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1987, allocations: 3.938 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.1988, allocations: 11.98 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1988, allocations: 4 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1988, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1988, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1988, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1991, allocations: 176 kB / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.1991, allocations: 7.891 kB / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1991, allocations: 48 / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.1992, allocations: 15.97 kB / 0.723 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1992, allocations: 7.984 kB / 0.723 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1992, allocations: 4 kB / 0.723 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.1993, allocations: 83.28 kB / 0.7231 GB, free: 10.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1993, allocations: 0 / 0.7231 GB, free: 10.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002249/0.1995, allocations: 8 kB / 0.7231 GB, free: 10.25 MB / 0.545 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.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006535/0.2002, allocations: 0.7084 MB / 0.7238 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2004, allocations: 47.95 kB / 0.7238 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2004, allocations: 4 kB / 0.7238 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2005, allocations: 27.91 kB / 0.7238 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2008, allocations: 7.938 kB / 0.7239 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.2012, allocations: 151.1 kB / 0.724 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.2013, allocations: 59.34 kB / 0.7241 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.2013, allocations: 4 kB / 0.7241 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.2014, allocations: 15.44 kB / 0.7241 GB, free: 9.141 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2014, allocations: 4 kB / 0.7241 GB, free: 9.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2305, allocations: 2.143 MB / 0.7262 GB, free: 7.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 5.188 kB / 0.7262 GB, free: 7.141 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_res.csv --start-time 0 --stop-time 13 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0052 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.250026140827686] Failed to read output from testmodel.py, exit status != 0: 11.548175507225096 11.564872441 11.367400584 Calling exit ...