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.001314/0.001314, allocations: 113 kB / 18.94 MB, free: 2.934 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.001452/0.001452, allocations: 209.1 kB / 22.25 MB, free: 5.086 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.023 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.9423/0.9423, allocations: 145 MB / 457.4 MB, free: 15.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.002154/0.002154, allocations: 66.5 kB / 0.6332 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1865, allocations: 87.89 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00319/0.1897, allocations: 1.557 MB / 0.7205 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004038/0.1901, allocations: 136.4 kB / 0.7206 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.1902, allocations: 4 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1902, allocations: 7.938 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.1902, allocations: 3.938 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1905, allocations: 35.89 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.1906, allocations: 35.92 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.1907, allocations: 11.98 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.1907, allocations: 11.94 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.1908, allocations: 23.91 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1908, allocations: 3.938 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.1909, allocations: 27.97 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1909, allocations: 8 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1909, allocations: 11.88 kB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1911, allocations: 59.78 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1911, allocations: 0 / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1911, allocations: 4 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1911, allocations: 0 / 0.7209 GB, free: 13.47 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.0005055/0.1916, allocations: 266.3 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1916, allocations: 12.03 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.1917, allocations: 38.73 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1917, allocations: 0.9375 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1918, allocations: 114.4 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1919, allocations: 8.375 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1919, allocations: 384 / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1921, allocations: 66.22 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1921, allocations: 7.922 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1921, allocations: 8 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1921, allocations: 0 / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1923, allocations: 43.89 kB / 0.7214 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.1928, allocations: 259.8 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1931, allocations: 54.53 kB / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1932, allocations: 24.91 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1934, allocations: 15.98 kB / 0.7218 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1934, allocations: 38.56 kB / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1934, allocations: 0 / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000406/0.1938, allocations: 101.5 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1938, allocations: 51.41 kB / 0.7219 GB, free: 12.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1939, allocations: 105.8 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.194, allocations: 29.7 kB / 0.7221 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.194, allocations: 88.14 kB / 0.7222 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.194, allocations: 3.953 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1941, allocations: 21.7 kB / 0.7222 GB, free: 11.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1942, allocations: 318.8 kB / 0.7225 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.1943, allocations: 19.97 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.1944, allocations: 19.98 kB / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1946, allocations: 44.81 kB / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1946, allocations: 4 kB / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002186/0.1948, allocations: 77.55 kB / 0.7226 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1948, allocations: 8 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1948, allocations: 0 / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1948, allocations: 0 / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.1949, allocations: 15.92 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1949, allocations: 0 / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.195, allocations: 11.98 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.195, allocations: 0 / 0.7227 GB, free: 11.43 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.576e-05/0.1951, allocations: 117.8 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1951, allocations: 0 / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.1954, allocations: 85.58 kB / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1954, allocations: 384 / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1954, allocations: 8 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1954, allocations: 0 / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1956, allocations: 148.6 kB / 0.723 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1956, allocations: 3.938 kB / 0.723 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.1957, allocations: 11.98 kB / 0.723 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1957, allocations: 3.984 kB / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1957, allocations: 4 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1957, allocations: 0 / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1957, allocations: 0 / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.196, allocations: 179.4 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.196, allocations: 0 / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.196, allocations: 3.984 kB / 0.7232 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.1961, allocations: 4 kB / 0.7232 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.1961, allocations: 11.98 kB / 0.7232 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1961, allocations: 0 / 0.7232 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.1962, allocations: 91.27 kB / 0.7233 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1962, allocations: 4 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002623/0.1965, allocations: 15.89 kB / 0.7233 GB, free: 10.67 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.0006504/0.1971, allocations: 0.7046 MB / 0.724 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1973, allocations: 47.89 kB / 0.7241 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1973, allocations: 0 / 0.7241 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1974, allocations: 27.97 kB / 0.7241 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1977, allocations: 2.062 kB / 0.7241 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1993, allocations: 1.296 MB / 0.7254 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1996, allocations: 0.6845 MB / 0.726 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.1996, allocations: 7.984 kB / 0.7261 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.1997, allocations: 11.44 kB / 0.7261 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1997, allocations: 4 kB / 0.7261 GB, free: 7.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.2294, allocations: 1.835 MB / 0.7279 GB, free: 6.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.23, allocations: 3.938 kB / 0.7279 GB, free: 6.059 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.923460324993357] Failed to read output from testmodel.py, exit status != 0: 11.342466250061989 11.37043174 11.174099871 Calling exit ...