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.001896/0.001896, allocations: 97.88 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.002555/0.002555, allocations: 215.4 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9355/0.9355, allocations: 145 MB / 458.2 MB, free: 15.28 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.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.001989/0.001989, allocations: 65.42 kB / 0.6339 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 87.88 MB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003117/0.1878, allocations: 1.55 MB / 0.7212 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.1883, allocations: 128.5 kB / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.1883, allocations: 4 kB / 0.7213 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.1883, allocations: 3.938 kB / 0.7213 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.1884, allocations: 11.92 kB / 0.7213 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1887, allocations: 27.92 kB / 0.7214 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.1888, allocations: 43.89 kB / 0.7214 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1889, allocations: 8 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.189, allocations: 15.92 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.189, allocations: 15.92 kB / 0.7214 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.189, allocations: 4 kB / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1891, allocations: 27.97 kB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.1892, allocations: 7.984 kB / 0.7215 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1892, allocations: 15.94 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1894, allocations: 51.73 kB / 0.7216 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1894, allocations: 0 / 0.7216 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.607e-06/0.1894, allocations: 4 kB / 0.7216 GB, free: 12.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1894, allocations: 0 / 0.7216 GB, free: 12.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005212/0.1899, allocations: 272.2 kB / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1899, allocations: 12.03 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.1899, allocations: 192 / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.19, allocations: 30.75 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.19, allocations: 8.938 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1901, allocations: 126.4 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1902, allocations: 8.312 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1902, allocations: 4.375 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1904, allocations: 61.98 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1904, allocations: 3.984 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1904, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1904, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.1906, allocations: 43.95 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.1911, allocations: 251.9 kB / 0.7223 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1914, allocations: 54.55 kB / 0.7224 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1915, allocations: 32.83 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.1916, allocations: 11.98 kB / 0.7224 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1916, allocations: 30.56 kB / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1916, allocations: 0 / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003917/0.192, allocations: 109.5 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1921, allocations: 55.34 kB / 0.7226 GB, free: 11.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.1922, allocations: 105.8 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1922, allocations: 29.7 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1922, allocations: 84.14 kB / 0.7228 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.1923, allocations: 3.953 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1923, allocations: 17.72 kB / 0.7229 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1924, allocations: 322.8 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.1925, allocations: 15.98 kB / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.1926, allocations: 27.97 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1928, allocations: 49.09 kB / 0.7233 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1928, allocations: 0 / 0.7233 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002299/0.193, allocations: 85.53 kB / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.193, allocations: 5.719 kB / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.193, allocations: 0 / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1931, allocations: 0 / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.1931, allocations: 15.98 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1931, allocations: 0 / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.1932, allocations: 4 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1932, allocations: 3.984 kB / 0.7234 GB, free: 10.86 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 (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 9.574e-05/0.1933, allocations: 113.8 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1933, allocations: 4 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1936, allocations: 85.58 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1936, allocations: 4 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1936, allocations: 0 / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1936, allocations: 4 kB / 0.7236 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1938, allocations: 140.6 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1938, allocations: 0 / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.1939, allocations: 11.98 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1939, allocations: 0 / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1939, allocations: 4 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1939, allocations: 0 / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1939, allocations: 0 / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1942, allocations: 175.4 kB / 0.7239 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.1942, allocations: 4 kB / 0.7239 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1942, allocations: 7.938 kB / 0.7239 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.1943, allocations: 11.92 kB / 0.7239 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1944, allocations: 11.98 kB / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1944, allocations: 3.938 kB / 0.7239 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.1944, allocations: 87.59 kB / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1944, allocations: 0 / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002493/0.1947, allocations: 11.95 kB / 0.724 GB, free: 10.11 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 (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.0006215/0.1953, allocations: 0.7085 MB / 0.7247 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1955, allocations: 47.88 kB / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1955, allocations: 0 / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.1956, allocations: 24.27 kB / 0.7248 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1959, allocations: 8 kB / 0.7248 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1975, allocations: 1.299 MB / 0.726 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.1975, allocations: 63.34 kB / 0.7261 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.1976, allocations: 8.219 kB / 0.7261 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.1976, allocations: 19.42 kB / 0.7261 GB, free: 7.805 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.1976, allocations: 3.938 kB / 0.7261 GB, free: 7.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2197, allocations: 1.904 MB / 0.728 GB, free: 6.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.42, allocations: 13.7 kB / 0.728 GB, free: 6.043 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.268552749999799] Failed to read output from testmodel.py, exit status != 0: 11.586867275997065 11.616329721 11.421931597 Calling exit ...