Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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.001298/0.001298, allocations: 116.8 kB / 17.17 MB, free: 6 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.00138/0.00138, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9237/0.9237, allocations: 145 MB / 454.5 MB, free: 10.04 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.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.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",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.002144/0.002144, allocations: 67.73 kB / 0.6287 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1939, allocations: 87.83 MB / 0.7145 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.0029/0.1968, allocations: 1.553 MB / 0.716 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003964/0.1972, allocations: 140.4 kB / 0.7161 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.1972, allocations: 0 / 0.7161 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.1973, allocations: 7.875 kB / 0.7161 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.1973, allocations: 7.938 kB / 0.7162 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1976, allocations: 27.97 kB / 0.7162 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.1977, allocations: 35.92 kB / 0.7162 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1978, allocations: 15.97 kB / 0.7162 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.1978, allocations: 15.94 kB / 0.7162 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.1979, allocations: 15.92 kB / 0.7163 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1979, allocations: 4 kB / 0.7163 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.198, allocations: 19.98 kB / 0.7163 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.198, allocations: 7.984 kB / 0.7163 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.198, allocations: 19.92 kB / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1981, allocations: 47.97 kB / 0.7164 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1982, allocations: 8 kB / 0.7164 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1982, allocations: 0 / 0.7164 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1982, allocations: 0 / 0.7164 GB, free: 9.801 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005554/0.1987, allocations: 347.4 kB / 0.7167 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1988, allocations: 12.03 kB / 0.7167 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.1988, allocations: 192 / 0.7167 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1988, allocations: 34.73 kB / 0.7167 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.1988, allocations: 4.938 kB / 0.7167 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.199, allocations: 176.3 kB / 0.7169 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.199, allocations: 4.375 kB / 0.7169 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.199, allocations: 384 / 0.7169 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1993, allocations: 73.89 kB / 0.717 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1993, allocations: 4 kB / 0.717 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1993, allocations: 0 / 0.717 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1993, allocations: 0 / 0.717 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1995, allocations: 43.95 kB / 0.717 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1999, allocations: 272.8 kB / 0.7173 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.2003, allocations: 62.47 kB / 0.7174 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2004, allocations: 28.89 kB / 0.7174 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.2008, allocations: 397.5 kB / 0.7178 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2008, allocations: 34.56 kB / 0.7178 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2008, allocations: 7.875 kB / 0.7178 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004295/0.2012, allocations: 97.58 kB / 0.7179 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2013, allocations: 55.34 kB / 0.7179 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.2014, allocations: 113.8 kB / 0.7181 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2014, allocations: 25.7 kB / 0.7181 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.2014, allocations: 88.14 kB / 0.7182 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2015, allocations: 7.953 kB / 0.7182 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.2015, allocations: 17.72 kB / 0.7182 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2017, allocations: 318.8 kB / 0.7185 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2018, allocations: 23.98 kB / 0.7185 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.2019, allocations: 19.97 kB / 0.7185 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2021, allocations: 53.09 kB / 0.7186 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2021, allocations: 0 / 0.7186 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002328/0.2023, allocations: 77.59 kB / 0.7187 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2023, allocations: 7.938 kB / 0.7187 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2023, allocations: 0 / 0.7187 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2023, allocations: 0 / 0.7187 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.2024, allocations: 15.98 kB / 0.7187 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2024, allocations: 4 kB / 0.7187 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.2025, allocations: 7.938 kB / 0.7187 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2025, allocations: 7.984 kB / 0.7187 GB, free: 7.078 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 (falFac.y,rea2Int.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.0001005/0.2026, allocations: 109.8 kB / 0.7188 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2026, allocations: 4 kB / 0.7188 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.2029, allocations: 81.55 kB / 0.7189 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2029, allocations: 4 kB / 0.7189 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2029, allocations: 4 kB / 0.7189 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2029, allocations: 0 / 0.7189 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2031, allocations: 173.6 kB / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2031, allocations: 3.938 kB / 0.7191 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.2032, allocations: 15.98 kB / 0.7191 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2032, allocations: 0 / 0.7191 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2032, allocations: 0 / 0.7191 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2032, allocations: 0 / 0.7191 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2032, allocations: 0 / 0.7191 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.2035, allocations: 179.4 kB / 0.7193 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.2035, allocations: 77.11 kB / 0.7193 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2036, allocations: 4 kB / 0.7193 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.2036, allocations: 7.984 kB / 0.7193 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.2037, allocations: 7.984 kB / 0.7193 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2037, allocations: 4 kB / 0.7193 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.2038, allocations: 87.28 kB / 0.7194 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2038, allocations: 0 / 0.7194 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002304/0.204, allocations: 15.89 kB / 0.7194 GB, free: 6.211 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 (rea2Int.y,falFac.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.0006604/0.2046, allocations: 0.7124 MB / 0.7201 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.2049, allocations: 44.14 kB / 0.7202 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2049, allocations: 0 / 0.7202 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.205, allocations: 32 kB / 0.7202 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.2053, allocations: 4 kB / 0.7202 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.207, allocations: 1.292 MB / 0.7215 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2073, allocations: 0.6807 MB / 0.7221 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.2074, allocations: 4 kB / 0.7221 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.2074, allocations: 15.42 kB / 0.7222 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2074, allocations: 0 / 0.7222 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2251, allocations: 1.764 MB / 0.7239 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.413, allocations: 6.984 kB / 0.7239 GB, free: 1.652 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.296622911002487] Failed to read output from testmodel.py, exit status != 0: 8.56705840601353 8.58674131 8.384502234 Calling exit ...