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.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001483/0.001483, allocations: 216 kB / 22.25 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.984 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.9127/0.9127, allocations: 145 MB / 457.4 MB, free: 15.52 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.002269/0.002269, allocations: 74.48 kB / 0.6332 GB, free: 7.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1915, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00392/0.1954, allocations: 1.547 MB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.1958, allocations: 124.5 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1959, allocations: 0 / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.1959, allocations: 7.922 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.196, allocations: 0 / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1962, allocations: 27.92 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.1963, allocations: 31.91 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.1964, allocations: 8 kB / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.1965, allocations: 19.92 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1965, allocations: 11.98 kB / 0.7207 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1965, allocations: 7.938 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1966, allocations: 8 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.1966, allocations: 15.97 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.1966, allocations: 7.938 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1968, allocations: 35.89 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1968, allocations: 4 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1968, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1968, allocations: 0 / 0.7208 GB, free: 13.57 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.0004773/0.1973, allocations: 262.3 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1973, allocations: 8.031 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.1973, allocations: 30.75 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1974, allocations: 8.891 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1975, allocations: 118.5 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1975, allocations: 384 / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.1975, allocations: 8.312 kB / 0.7212 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1977, allocations: 54.23 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1977, allocations: 3.938 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1978, allocations: 4 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1978, allocations: 0 / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.198, allocations: 39.95 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1984, allocations: 255.8 kB / 0.7216 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1987, allocations: 50.55 kB / 0.7216 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1988, allocations: 28.89 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/0.1989, allocations: 4 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1989, allocations: 38.56 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1989, allocations: 4 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003832/0.1993, allocations: 97.55 kB / 0.7218 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1994, allocations: 55.34 kB / 0.7218 GB, free: 12.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.1994, allocations: 101.8 kB / 0.7219 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1995, allocations: 25.7 kB / 0.7219 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.1995, allocations: 84.14 kB / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1995, allocations: 11.95 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1996, allocations: 13.72 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1997, allocations: 318.8 kB / 0.7224 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.1998, allocations: 15.98 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1999, allocations: 23.97 kB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2, allocations: 48.77 kB / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2, allocations: 0 / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.2003, allocations: 81.53 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2003, allocations: 6.031 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2003, allocations: 0 / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2003, allocations: 0 / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.2004, allocations: 11.98 kB / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2004, allocations: 0 / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.2004, allocations: 8 kB / 0.7225 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2004, allocations: 4 kB / 0.7225 GB, free: 11.59 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 9.498e-05/0.2005, allocations: 117.8 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2006, allocations: 0 / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.2008, allocations: 89.27 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2008, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2008, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2008, allocations: 4 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.201, allocations: 136.7 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.201, allocations: 4 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.2011, allocations: 11.98 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2011, allocations: 0 / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2011, allocations: 3.938 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2011, allocations: 0 / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2011, allocations: 0 / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.2014, allocations: 176 kB / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.2014, allocations: 7.953 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2014, allocations: 11.86 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.2015, allocations: 4 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.2015, allocations: 4.031 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2015, allocations: 7.984 kB / 0.7231 GB, free: 10.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.2016, allocations: 79.28 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2016, allocations: 0 / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002302/0.2018, allocations: 19.92 kB / 0.7232 GB, free: 10.84 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.0006322/0.2025, allocations: 0.7046 MB / 0.7239 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2027, allocations: 47.89 kB / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2027, allocations: 0 / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2028, allocations: 23.98 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2031, allocations: 4 kB / 0.724 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.2036, allocations: 143.1 kB / 0.7241 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2039, allocations: 0.6768 MB / 0.7248 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2039, allocations: 8 kB / 0.7248 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.204, allocations: 11.44 kB / 0.7248 GB, free: 9.133 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.204, allocations: 0 / 0.7248 GB, free: 9.133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.2309, allocations: 1.716 MB / 0.7264 GB, free: 7.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.86, allocations: 9.766 kB / 0.7265 GB, free: 7.547 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.74812685500001] Failed to read output from testmodel.py, exit status != 0: 10.962648164000711 10.987851479 10.78640579 Calling exit ...