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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001053/0.001053, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.598 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 1.029/1.029, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.182, allocations: 82.04 MB / 0.5937 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002666/0.1847, allocations: 1.589 MB / 0.5953 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.1852, allocations: 128.5 kB / 0.5954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.1853, allocations: 4 kB / 0.5954 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.1853, allocations: 3.984 kB / 0.5954 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.1854, allocations: 3.938 kB / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1857, allocations: 27.97 kB / 0.5954 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.1858, allocations: 35.86 kB / 0.5955 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1859, allocations: 12 kB / 0.5955 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.186, allocations: 23.91 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.186, allocations: 15.92 kB / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1861, allocations: 4 kB / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.1861, allocations: 15.98 kB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1862, allocations: 0 / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1862, allocations: 15.92 kB / 0.5956 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1864, allocations: 47.88 kB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1864, allocations: 3.938 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1864, allocations: 0 / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1864, allocations: 0 / 0.5956 GB, free: 8.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005597/0.187, allocations: 355.7 kB / 0.5959 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.187, allocations: 8.031 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.1871, allocations: 34.75 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1871, allocations: 8.844 kB / 0.596 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1873, allocations: 172.3 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1873, allocations: 4.375 kB / 0.5962 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1874, allocations: 384 / 0.5962 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1876, allocations: 66.22 kB / 0.5962 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1876, allocations: 7.938 kB / 0.5962 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1876, allocations: 0 / 0.5962 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1876, allocations: 3.984 kB / 0.5962 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1879, allocations: 43.95 kB / 0.5963 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1884, allocations: 288.6 kB / 0.5966 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1888, allocations: 62.53 kB / 0.5966 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1889, allocations: 28.84 kB / 0.5966 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.1893, allocations: 393.5 kB / 0.597 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1893, allocations: 42.55 kB / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1893, allocations: 0 / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000443/0.1898, allocations: 93.58 kB / 0.5971 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1898, allocations: 51.41 kB / 0.5972 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.1899, allocations: 113.8 kB / 0.5973 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1899, allocations: 25.7 kB / 0.5973 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.19, allocations: 84.12 kB / 0.5974 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.19, allocations: 7.906 kB / 0.5974 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1901, allocations: 13.72 kB / 0.5974 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1902, allocations: 326.8 kB / 0.5977 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.1903, allocations: 19.91 kB / 0.5978 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.1904, allocations: 19.98 kB / 0.5978 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1906, allocations: 52.75 kB / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1906, allocations: 0 / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002092/0.1908, allocations: 77.56 kB / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1908, allocations: 8 kB / 0.5979 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1908, allocations: 0 / 0.5979 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1908, allocations: 3.984 kB / 0.5979 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.1909, allocations: 8.328 kB / 0.5979 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1909, allocations: 0 / 0.5979 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.191, allocations: 7.984 kB / 0.5979 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.191, allocations: 0 / 0.5979 GB, free: 5.34 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: 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 7.977e-05/0.1911, allocations: 121.8 kB / 0.598 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1911, allocations: 3.984 kB / 0.5981 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1914, allocations: 89.47 kB / 0.5981 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1914, allocations: 0 / 0.5981 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1914, allocations: 0 / 0.5981 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1914, allocations: 0 / 0.5981 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1916, allocations: 173.5 kB / 0.5983 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1916, allocations: 0 / 0.5983 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.1917, allocations: 15.98 kB / 0.5983 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1917, allocations: 0 / 0.5983 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1917, allocations: 0 / 0.5983 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1917, allocations: 4 kB / 0.5983 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1917, allocations: 4 kB / 0.5983 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.192, allocations: 175.4 kB / 0.5985 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.192, allocations: 81.11 kB / 0.5986 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1921, allocations: 4 kB / 0.5986 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.1922, allocations: 7.984 kB / 0.5986 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.1922, allocations: 4 kB / 0.5986 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1922, allocations: 3.938 kB / 0.5986 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.259e-05/0.1923, allocations: 91.27 kB / 0.5987 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.92e-07/0.1923, allocations: 0 / 0.5987 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002373/0.1926, allocations: 11.94 kB / 0.5987 GB, free: 4.457 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: 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.0006708/0.1932, allocations: 0.7162 MB / 0.5994 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1935, allocations: 51.89 kB / 0.5994 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1935, allocations: 0 / 0.5994 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.1936, allocations: 27.97 kB / 0.5995 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.194, allocations: 6.672 kB / 0.5995 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1955, allocations: 1.29 MB / 0.6007 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1957, allocations: 0.6813 MB / 0.6014 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.1958, allocations: 7.984 kB / 0.6014 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.1958, allocations: 15.44 kB / 0.6014 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1958, allocations: 0 / 0.6014 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.2068, allocations: 1.485 MB / 0.6029 GB, free: 152 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.278/0.4848, allocations: 209.3 kB / 0.6031 GB, free: 45.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.202, allocations: 0 / 0.6031 GB, free: 45.95 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)