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.001261/0.001261, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 219 kB / 23.03 MB, free: 4.922 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9278/0.9278, allocations: 145 MB / 458.2 MB, free: 15.3 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.003315/0.003315, allocations: 66.41 kB / 0.6339 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.203, allocations: 87.89 MB / 0.7197 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001954/0.205, allocations: 0.5795 MB / 0.7203 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002895/0.2053, allocations: 59.8 kB / 0.7203 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.2053, allocations: 3.938 kB / 0.7204 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.2053, allocations: 0 / 0.7204 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.2053, allocations: 0 / 0.7204 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2055, allocations: 8 kB / 0.7204 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.2055, allocations: 0 / 0.7204 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.2056, allocations: 7.984 kB / 0.7204 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.2056, allocations: 3.938 kB / 0.7204 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.2056, allocations: 3.984 kB / 0.7204 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.2056, allocations: 0 / 0.7204 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.2057, allocations: 12 kB / 0.7204 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2057, allocations: 7.984 kB / 0.7204 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.2057, allocations: 7.938 kB / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.2058, allocations: 4 kB / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2058, allocations: 0 / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2058, allocations: 0 / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2058, allocations: 0 / 0.7204 GB, free: 14.12 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.000289/0.2061, allocations: 252.6 kB / 0.7206 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2062, allocations: 8.031 kB / 0.7207 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.161e-05/0.2062, allocations: 192 / 0.7207 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.2062, allocations: 30.75 kB / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.2062, allocations: 0.9375 kB / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.2063, allocations: 110.5 kB / 0.7208 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2063, allocations: 384 / 0.7208 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2063, allocations: 384 / 0.7208 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2064, allocations: 42 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2064, allocations: 0 / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2064, allocations: 3.984 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2064, allocations: 0 / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.2065, allocations: 7.938 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2066, allocations: 124.8 kB / 0.721 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.2067, allocations: 22.61 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.2067, allocations: 8.922 kB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.2068, allocations: 4 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2069, allocations: 38.5 kB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2069, allocations: 0 / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.207, allocations: 41.62 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2071, allocations: 51.41 kB / 0.7211 GB, free: 13.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.2071, allocations: 89.86 kB / 0.7212 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2072, allocations: 33.7 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.2072, allocations: 80.14 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2072, allocations: 4.125 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2072, allocations: 17.7 kB / 0.7213 GB, free: 12.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2074, allocations: 314.8 kB / 0.7216 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2074, allocations: 4 kB / 0.7216 GB, free: 12.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.2074, allocations: 4 kB / 0.7216 GB, free: 12.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.2074, allocations: 8.859 kB / 0.7216 GB, free: 12.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2074, allocations: 0 / 0.7216 GB, free: 12.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.845e-05/0.2075, allocations: 49.58 kB / 0.7217 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2075, allocations: 11.94 kB / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2075, allocations: 96 / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2075, allocations: 4 kB / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.2076, allocations: 7.938 kB / 0.7217 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2076, allocations: 0 / 0.7217 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.2076, allocations: 0 / 0.7217 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2076, allocations: 0 / 0.7217 GB, free: 12.58 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.811e-05/0.2077, allocations: 113.8 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2077, allocations: 3.938 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.2078, allocations: 44.8 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2078, allocations: 0 / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2078, allocations: 4.031 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2078, allocations: 3.984 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.751e-05/0.2079, allocations: 124.8 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2079, allocations: 0 / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.2079, allocations: 0 / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.2079, allocations: 11.94 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.2079, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2079, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2079, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.208, allocations: 61.12 kB / 0.7221 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.208, allocations: 4 kB / 0.7221 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.208, allocations: 7.969 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.208, allocations: 3.938 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2081, allocations: 3.984 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.2081, allocations: 4 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.2081, allocations: 75.28 kB / 0.7222 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 0 / 0.7222 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001964/0.2083, allocations: 4 kB / 0.7222 GB, free: 12.04 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.0004612/0.2088, allocations: 0.6007 MB / 0.7228 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.2088, allocations: 23.95 kB / 0.7228 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2088, allocations: 0 / 0.7228 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.2089, allocations: 4 kB / 0.7228 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.209, allocations: 7.938 kB / 0.7228 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2093, allocations: 118.4 kB / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.2093, allocations: 55.36 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.2094, allocations: 0 / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2094, allocations: 15.44 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.2094, allocations: 0 / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2303, allocations: 1.229 MB / 0.7242 GB, free: 10.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 15.22 kB / 0.7242 GB, free: 10.03 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: 15.045900483964942] Failed to read output from testmodel.py, exit status != 0: 11.43971212010365 11.462413422 11.251864965 Calling exit ...