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.001329/0.001329, 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.001778/0.001778, allocations: 221.7 kB / 22.26 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.977 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.9205/0.9205, 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.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",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.002028/0.002028, allocations: 69.73 kB / 0.6332 GB, free: 7.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 87.88 MB / 0.719 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001865/0.187, allocations: 0.5767 MB / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003197/0.1873, allocations: 63.72 kB / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1873, allocations: 0 / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1873, allocations: 3.938 kB / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-06/0.1873, allocations: 3.938 kB / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1876, allocations: 15.98 kB / 0.7197 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.1877, allocations: 39.95 kB / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.1878, allocations: 0 / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.1878, allocations: 12 kB / 0.7197 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.1878, allocations: 11.97 kB / 0.7197 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1878, allocations: 4 kB / 0.7197 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.1879, allocations: 19.98 kB / 0.7198 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.1879, allocations: 11.97 kB / 0.7198 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.188, allocations: 15.88 kB / 0.7198 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1881, allocations: 35.89 kB / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1881, allocations: 4 kB / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1881, allocations: 0 / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1881, allocations: 7.938 kB / 0.7198 GB, free: 14.56 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003235/0.1884, allocations: 254.3 kB / 0.7201 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1885, allocations: 12.02 kB / 0.7201 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1885, allocations: 38.75 kB / 0.7201 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1885, allocations: 0.9375 kB / 0.7201 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.1886, allocations: 110.5 kB / 0.7202 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1886, allocations: 4.375 kB / 0.7202 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1886, allocations: 8.375 kB / 0.7202 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1888, allocations: 70.16 kB / 0.7203 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1888, allocations: 7.938 kB / 0.7203 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1888, allocations: 0 / 0.7203 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1888, allocations: 0 / 0.7203 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.189, allocations: 107.8 kB / 0.7204 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1891, allocations: 144.7 kB / 0.7206 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1893, allocations: 66.55 kB / 0.7206 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.1893, allocations: 28.84 kB / 0.7206 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.1895, allocations: 19.97 kB / 0.7207 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1895, allocations: 38.56 kB / 0.7207 GB, free: 13.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1895, allocations: 0 / 0.7207 GB, free: 13.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002569/0.1898, allocations: 121.8 kB / 0.7208 GB, free: 13.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1898, allocations: 55.41 kB / 0.7209 GB, free: 13.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.1899, allocations: 97.81 kB / 0.721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1899, allocations: 25.7 kB / 0.721 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1899, allocations: 80.14 kB / 0.7211 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.19, allocations: 27.73 kB / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.19, allocations: 37.7 kB / 0.7211 GB, free: 13.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1901, allocations: 314.8 kB / 0.7214 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.1902, allocations: 19.98 kB / 0.7214 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.1902, allocations: 19.98 kB / 0.7215 GB, free: 12.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1903, allocations: 60.78 kB / 0.7215 GB, free: 12.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1903, allocations: 0 / 0.7215 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001424/0.1905, allocations: 94.25 kB / 0.7216 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1905, allocations: 7.938 kB / 0.7216 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1905, allocations: 8 kB / 0.7216 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1905, allocations: 0 / 0.7216 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1906, allocations: 19.98 kB / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1906, allocations: 0 / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.1906, allocations: 7.953 kB / 0.7217 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1906, allocations: 7.984 kB / 0.7217 GB, free: 12.48 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: 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.0001503/0.1908, allocations: 128.8 kB / 0.7218 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1908, allocations: 3.938 kB / 0.7218 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.191, allocations: 133.5 kB / 0.7219 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1911, allocations: 3.984 kB / 0.7219 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1911, allocations: 0 / 0.7219 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1911, allocations: 0 / 0.7219 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1912, allocations: 144.7 kB / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1912, allocations: 0 / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1913, allocations: 19.92 kB / 0.7221 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.1913, allocations: 7.938 kB / 0.7221 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1913, allocations: 4 kB / 0.7221 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1913, allocations: 3.984 kB / 0.7221 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1913, allocations: 4 kB / 0.7221 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1915, allocations: 129 kB / 0.7222 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.1915, allocations: 3.938 kB / 0.7222 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1915, allocations: 4 kB / 0.7222 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.1915, allocations: 8 kB / 0.7222 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1915, allocations: 7.984 kB / 0.7222 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1915, allocations: 0 / 0.7222 GB, free: 11.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.1916, allocations: 79.28 kB / 0.7223 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 0.7223 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001928/0.1918, allocations: 19.94 kB / 0.7223 GB, free: 11.71 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: 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.0006099/0.1924, allocations: 0.667 MB / 0.723 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1925, allocations: 63.84 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1925, allocations: 4 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.1926, allocations: 31.92 kB / 0.7231 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1927, allocations: 7.938 kB / 0.7231 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1931, allocations: 174.5 kB / 0.7233 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1934, allocations: 0.6908 MB / 0.7239 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.1935, allocations: 35.95 kB / 0.724 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1935, allocations: 19.42 kB / 0.724 GB, free: 9.934 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1935, allocations: 4 kB / 0.724 GB, free: 9.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.2254, allocations: 1.72 MB / 0.7257 GB, free: 8.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.13, allocations: 4.062 kB / 0.7257 GB, free: 8.336 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.755918889073655] Failed to read output from testmodel.py, exit status != 0: 11.23850208078511 11.254310749 11.063103342 Calling exit ...