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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008588/0.008588, allocations: 170.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9585/0.9585, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 83.42 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001044/0.1906, allocations: 307.1 kB / 0.5983 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.1911, allocations: 63.72 kB / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.1911, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.1912, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.1912, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1915, allocations: 15.98 kB / 0.5983 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1916, allocations: 27.97 kB / 0.5984 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1916, allocations: 0 / 0.5984 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.1917, allocations: 19.98 kB / 0.5984 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.1917, allocations: 15.92 kB / 0.5984 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1918, allocations: 4 kB / 0.5984 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.1919, allocations: 11.98 kB / 0.5984 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1919, allocations: 11.98 kB / 0.5984 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.192, allocations: 37.64 kB / 0.5985 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1921, allocations: 31.89 kB / 0.5985 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1921, allocations: 0 / 0.5985 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1921, allocations: 0 / 0.5985 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1922, allocations: 0 / 0.5985 GB, free: 7.02 MB / 0.4981 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.0004555/0.1926, allocations: 331.6 kB / 0.5988 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1927, allocations: 12.03 kB / 0.5988 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.1927, allocations: 34.75 kB / 0.5989 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1928, allocations: 12.83 kB / 0.5989 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1929, allocations: 168.5 kB / 0.599 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.193, allocations: 8.312 kB / 0.599 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.193, allocations: 4.375 kB / 0.599 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1932, allocations: 62.17 kB / 0.5991 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1932, allocations: 3.938 kB / 0.5991 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1932, allocations: 4 kB / 0.5991 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1932, allocations: 7.984 kB / 0.5991 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.1934, allocations: 99.88 kB / 0.5992 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.1937, allocations: 173.6 kB / 0.5994 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1939, allocations: 78.48 kB / 0.5995 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.1939, allocations: 28.84 kB / 0.5995 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.1944, allocations: 397.5 kB / 0.5999 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1945, allocations: 46.88 kB / 0.5999 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1945, allocations: 0 / 0.5999 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000423/0.1949, allocations: 121.4 kB / 0.6 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.195, allocations: 51.41 kB / 0.6001 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.195, allocations: 93.86 kB / 0.6002 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1951, allocations: 33.64 kB / 0.6002 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.1951, allocations: 80.14 kB / 0.6003 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.1952, allocations: 27.64 kB / 0.6003 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1953, allocations: 17.72 kB / 0.6003 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.1955, allocations: 318.8 kB / 0.6006 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1956, allocations: 19.98 kB / 0.6006 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1957, allocations: 31.91 kB / 0.6007 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1958, allocations: 48.84 kB / 0.6007 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1958, allocations: 4 kB / 0.6007 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001922/0.196, allocations: 90.27 kB / 0.6008 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.196, allocations: 17.8 kB / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1961, allocations: 0 / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.1961, allocations: 0 / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1963, allocations: 16 kB / 0.6008 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1963, allocations: 7.938 kB / 0.6008 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.1963, allocations: 3.906 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1963, allocations: 7.984 kB / 0.6009 GB, free: 4.281 MB / 0.4981 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.0002104/0.1966, allocations: 123.5 kB / 0.601 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1966, allocations: 3.938 kB / 0.601 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1969, allocations: 137.5 kB / 0.6011 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1969, allocations: 0 / 0.6011 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1969, allocations: 0 / 0.6011 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1969, allocations: 0 / 0.6011 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.1971, allocations: 177.6 kB / 0.6013 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1971, allocations: 0 / 0.6013 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.1972, allocations: 12 kB / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1972, allocations: 11.92 kB / 0.6013 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1972, allocations: 3.984 kB / 0.6013 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1973, allocations: 0 / 0.6013 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1973, allocations: 3.938 kB / 0.6013 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1975, allocations: 125.1 kB / 0.6014 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1976, allocations: 92.88 kB / 0.6015 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1976, allocations: 4 kB / 0.6015 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.1977, allocations: 8 kB / 0.6015 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1977, allocations: 7.984 kB / 0.6015 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1977, allocations: 4 kB / 0.6015 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.1978, allocations: 75.28 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1978, allocations: 8 kB / 0.6016 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002876/0.1981, allocations: 8 kB / 0.6016 GB, free: 3.387 MB / 0.4981 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.0006341/0.1987, allocations: 0.667 MB / 0.6023 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1989, allocations: 67.89 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1989, allocations: 4 kB / 0.6023 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.199, allocations: 35.92 kB / 0.6024 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1992, allocations: 7.938 kB / 0.6024 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1997, allocations: 180.3 kB / 0.6026 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.2002, allocations: 0.6848 MB / 0.6032 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.2003, allocations: 39.94 kB / 0.6033 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.2004, allocations: 15.44 kB / 0.6033 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of SimCode: time 3.907e-06/0.2004, allocations: 0 / 0.6033 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.212, allocations: 1.388 MB / 0.6046 GB, free: 392 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.2123, allocations: 217 kB / 0.6048 GB, free: 136 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.868, allocations: 0 / 0.6048 GB, free: 136 kB / 0.4981 GB (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 --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)