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.001242/0.001242, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001448/0.001448, allocations: 218 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9061/0.9061, allocations: 145 MB / 458.2 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.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="cs",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.001957/0.001957, allocations: 60.25 kB / 0.634 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1967, allocations: 87.89 MB / 0.7198 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001736/0.1984, allocations: 0.5754 MB / 0.7204 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1987, allocations: 67.77 kB / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1987, allocations: 0 / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.1987, allocations: 0 / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1987, allocations: 0 / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1989, allocations: 7.984 kB / 0.7204 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.199, allocations: 15.92 kB / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.199, allocations: 0 / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.199, allocations: 11.94 kB / 0.7205 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.1991, allocations: 0 / 0.7205 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.1991, allocations: 0 / 0.7205 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1991, allocations: 11.98 kB / 0.7205 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.1992, allocations: 0 / 0.7205 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.1992, allocations: 7.984 kB / 0.7205 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.475e-05/0.1993, allocations: 11.88 kB / 0.7205 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1993, allocations: 4 kB / 0.7205 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1993, allocations: 0 / 0.7205 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1993, allocations: 0 / 0.7205 GB, free: 14.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003106/0.1996, allocations: 238.5 kB / 0.7207 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1996, allocations: 8.031 kB / 0.7207 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.058e-05/0.1996, allocations: 4.188 kB / 0.7207 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1997, allocations: 30.75 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.1997, allocations: 4.938 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.1998, allocations: 106.5 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1998, allocations: 384 / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.1998, allocations: 4.375 kB / 0.7209 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.1999, allocations: 34 kB / 0.7209 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1999, allocations: 4 kB / 0.7209 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.1999, allocations: 4 kB / 0.7209 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1999, allocations: 0 / 0.7209 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.2, allocations: 3.938 kB / 0.7209 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.2001, allocations: 124.8 kB / 0.721 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.2002, allocations: 22.61 kB / 0.7211 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.2002, allocations: 8.922 kB / 0.7211 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.2003, allocations: 11.98 kB / 0.7211 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.2003, allocations: 38.5 kB / 0.7211 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2003, allocations: 0 / 0.7211 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.2005, allocations: 41.64 kB / 0.7212 GB, free: 13.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2005, allocations: 51.41 kB / 0.7212 GB, free: 13.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.2005, allocations: 89.86 kB / 0.7213 GB, free: 13.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2006, allocations: 25.7 kB / 0.7213 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.2006, allocations: 88.25 kB / 0.7214 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2006, allocations: 4 kB / 0.7214 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2006, allocations: 13.72 kB / 0.7214 GB, free: 13.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2008, allocations: 314.8 kB / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.2008, allocations: 0 / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-06/0.2008, allocations: 4 kB / 0.7217 GB, free: 13.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.2008, allocations: 16.8 kB / 0.7217 GB, free: 13.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2008, allocations: 0 / 0.7217 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.883e-05/0.2009, allocations: 49.64 kB / 0.7218 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2009, allocations: 11.88 kB / 0.7218 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2009, allocations: 0 / 0.7218 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2009, allocations: 4 kB / 0.7218 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.201, allocations: 0 / 0.7218 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.201, allocations: 0 / 0.7218 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.201, allocations: 4 kB / 0.7218 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.201, allocations: 7.984 kB / 0.7218 GB, free: 13.15 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 (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.021e-05/0.2011, allocations: 105.8 kB / 0.7219 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.2011, allocations: 7.969 kB / 0.7219 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.2012, allocations: 48.78 kB / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2012, allocations: 0 / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2012, allocations: 0 / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2012, allocations: 0 / 0.722 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.2013, allocations: 116.8 kB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2013, allocations: 0 / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.2013, allocations: 4 kB / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2013, allocations: 7.922 kB / 0.7221 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.2013, allocations: 0 / 0.7221 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2013, allocations: 4.031 kB / 0.7221 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2013, allocations: 0 / 0.7221 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.2014, allocations: 61.14 kB / 0.7221 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.2014, allocations: 7.984 kB / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.2014, allocations: 3.938 kB / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.2014, allocations: 0 / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.2014, allocations: 7.938 kB / 0.7222 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2014, allocations: 4.031 kB / 0.7222 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2015, allocations: 75.28 kB / 0.7222 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2015, allocations: 0 / 0.7222 GB, free: 12.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000181/0.2016, allocations: 4 kB / 0.7222 GB, free: 12.62 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,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.0004242/0.2021, allocations: 0.6008 MB / 0.7228 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.2021, allocations: 23.86 kB / 0.7229 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2021, allocations: 0 / 0.7229 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.2022, allocations: 4 kB / 0.7229 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.2023, allocations: 4 kB / 0.7229 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.2026, allocations: 114.6 kB / 0.723 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2029, allocations: 0.669 MB / 0.7236 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.2029, allocations: 4 kB / 0.7236 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.2029, allocations: 15.55 kB / 0.7236 GB, free: 11.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.2029, allocations: 0 / 0.7236 GB, free: 11.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.2232, allocations: 1.22 MB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.1, allocations: 6.219 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.910179321072064] Failed to read output from testmodel.py, exit status != 0: 11.25827806990128 11.278356007 11.076187444 Calling exit ...