Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001753/0.001753, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002191/0.002191, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9363/0.9363, allocations: 144.9 MB / 454.5 MB, free: 10.37 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.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.0019/0.0019, allocations: 72.02 kB / 0.6287 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1829, allocations: 87.83 MB / 0.7145 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00191/0.1848, allocations: 0.5788 MB / 0.7151 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.1852, allocations: 67.77 kB / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1852, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.1852, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.1852, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1855, allocations: 19.92 kB / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.1856, allocations: 23.98 kB / 0.7152 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.1856, allocations: 4 kB / 0.7152 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.1857, allocations: 11.97 kB / 0.7152 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.1857, allocations: 15.94 kB / 0.7152 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1857, allocations: 0 / 0.7152 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.1858, allocations: 23.97 kB / 0.7152 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.1858, allocations: 15.98 kB / 0.7153 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1858, allocations: 7.938 kB / 0.7153 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1859, allocations: 40.95 kB / 0.7153 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1859, allocations: 0 / 0.7153 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1859, allocations: 0 / 0.7153 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1859, allocations: 0 / 0.7153 GB, free: 10.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003841/0.1863, allocations: 339.4 kB / 0.7156 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1864, allocations: 12.03 kB / 0.7156 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.451e-05/0.1864, allocations: 4.188 kB / 0.7156 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.1864, allocations: 38.69 kB / 0.7157 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1865, allocations: 0.9375 kB / 0.7157 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1866, allocations: 168.3 kB / 0.7158 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1866, allocations: 4.375 kB / 0.7159 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1866, allocations: 4.375 kB / 0.7159 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1867, allocations: 66.38 kB / 0.7159 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1867, allocations: 3.938 kB / 0.7159 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1868, allocations: 4 kB / 0.7159 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1868, allocations: 0 / 0.7159 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1869, allocations: 107.9 kB / 0.716 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1871, allocations: 173.6 kB / 0.7162 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1872, allocations: 70.47 kB / 0.7163 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1873, allocations: 32.84 kB / 0.7163 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.1877, allocations: 401.8 kB / 0.7167 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.1877, allocations: 42.44 kB / 0.7167 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1877, allocations: 4 kB / 0.7167 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002988/0.188, allocations: 105.7 kB / 0.7168 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1881, allocations: 59.33 kB / 0.7169 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.1882, allocations: 101.8 kB / 0.717 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1882, allocations: 25.7 kB / 0.717 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.1882, allocations: 80.14 kB / 0.7171 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1883, allocations: 19.86 kB / 0.7171 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1883, allocations: 37.7 kB / 0.7171 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1885, allocations: 314.8 kB / 0.7174 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.1886, allocations: 23.92 kB / 0.7175 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.1886, allocations: 19.98 kB / 0.7175 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1887, allocations: 65.42 kB / 0.7175 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1887, allocations: 0 / 0.7175 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001544/0.1889, allocations: 89.61 kB / 0.7176 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1889, allocations: 15.86 kB / 0.7176 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1889, allocations: 0 / 0.7176 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1889, allocations: 0 / 0.7176 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.189, allocations: 16 kB / 0.7177 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.189, allocations: 7.984 kB / 0.7177 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.189, allocations: 15.89 kB / 0.7177 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.189, allocations: 3.984 kB / 0.7177 GB, free: 8.129 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001581/0.1892, allocations: 117.8 kB / 0.7178 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1892, allocations: 7.938 kB / 0.7178 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1895, allocations: 125.5 kB / 0.7179 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1895, allocations: 0 / 0.7179 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1895, allocations: 4 kB / 0.7179 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1895, allocations: 4 kB / 0.7179 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.1896, allocations: 173.7 kB / 0.7181 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1896, allocations: 3.984 kB / 0.7181 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.1897, allocations: 19.94 kB / 0.7181 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1897, allocations: 3.938 kB / 0.7181 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1897, allocations: 11.92 kB / 0.7181 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1897, allocations: 4 kB / 0.7181 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1897, allocations: 0 / 0.7181 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1899, allocations: 128.9 kB / 0.7183 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1899, allocations: 85.05 kB / 0.7183 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1899, allocations: 3.984 kB / 0.7183 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.1899, allocations: 4 kB / 0.7183 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.19, allocations: 4 kB / 0.7183 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.19, allocations: 7.984 kB / 0.7184 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.19, allocations: 75.28 kB / 0.7184 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.19, allocations: 0 / 0.7184 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001904/0.1902, allocations: 16 kB / 0.7184 GB, free: 7.242 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005675/0.1908, allocations: 0.6765 MB / 0.7191 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1909, allocations: 55.95 kB / 0.7192 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1909, allocations: 0 / 0.7192 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.191, allocations: 36.52 kB / 0.7192 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1911, allocations: 12 kB / 0.7192 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.1915, allocations: 174.7 kB / 0.7194 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1919, allocations: 0.6884 MB / 0.72 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.625e-05/0.192, allocations: 35.94 kB / 0.7201 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.192, allocations: 15.44 kB / 0.7201 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.192, allocations: 0 / 0.7201 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.2106, allocations: 1.643 MB / 0.7217 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.435, allocations: 14.88 kB / 0.7217 GB, free: 3.969 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.276654586021323] Failed to read output from testmodel.py, exit status != 0: 8.560097491019405 8.585455879 8.395077413 Calling exit ...