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.001234/0.001234, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001391/0.001392, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.402 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.089/1.089, allocations: 143 MB / 433.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.88 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.18, allocations: 82.04 MB / 0.5939 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002844/0.1828, allocations: 1.601 MB / 0.5955 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003416/0.1832, allocations: 128.5 kB / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.1833, allocations: 4 kB / 0.5956 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.1833, allocations: 0 / 0.5956 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.1833, allocations: 3.938 kB / 0.5956 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1836, allocations: 35.95 kB / 0.5956 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.1837, allocations: 35.86 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.1838, allocations: 8 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.1838, allocations: 23.92 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.1839, allocations: 19.92 kB / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1839, allocations: 4 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.184, allocations: 19.97 kB / 0.5957 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.184, allocations: 4 kB / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.184, allocations: 19.92 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1841, allocations: 35.88 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1841, allocations: 4 kB / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1841, allocations: 3.938 kB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1842, allocations: 0 / 0.5958 GB, free: 7.816 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.0005146/0.1847, allocations: 361.9 kB / 0.5961 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1847, allocations: 12.03 kB / 0.5962 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1848, allocations: 30.75 kB / 0.5962 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.1848, allocations: 4.844 kB / 0.5962 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1849, allocations: 172.3 kB / 0.5964 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.185, allocations: 8.312 kB / 0.5964 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.185, allocations: 4.375 kB / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1852, allocations: 62.23 kB / 0.5964 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1852, allocations: 3.938 kB / 0.5964 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1852, allocations: 0 / 0.5964 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1852, allocations: 4 kB / 0.5964 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1854, allocations: 43.95 kB / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.1858, allocations: 284.6 kB / 0.5967 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1861, allocations: 66.52 kB / 0.5968 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.1863, allocations: 24.91 kB / 0.5968 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.1865, allocations: 397.6 kB / 0.5972 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1866, allocations: 30.56 kB / 0.5972 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1866, allocations: 0 / 0.5972 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.187, allocations: 101.6 kB / 0.5973 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.187, allocations: 55.41 kB / 0.5974 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.1871, allocations: 109.8 kB / 0.5975 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1871, allocations: 25.7 kB / 0.5975 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.1872, allocations: 88.14 kB / 0.5976 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1872, allocations: 7.891 kB / 0.5976 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1872, allocations: 17.72 kB / 0.5976 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1873, allocations: 318.8 kB / 0.5979 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.1874, allocations: 23.97 kB / 0.598 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.1875, allocations: 23.92 kB / 0.598 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1877, allocations: 48.75 kB / 0.598 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1877, allocations: 0 / 0.598 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.1879, allocations: 77.56 kB / 0.5981 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1879, allocations: 4 kB / 0.5981 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1879, allocations: 0 / 0.5981 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.188, allocations: 0 / 0.5981 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.188, allocations: 15.98 kB / 0.5981 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1881, allocations: 0 / 0.5981 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.1881, allocations: 7.984 kB / 0.5981 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1881, allocations: 4 kB / 0.5981 GB, free: 5.102 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 9.694e-05/0.1882, allocations: 113.8 kB / 0.5982 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1883, allocations: 4 kB / 0.5982 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1885, allocations: 85.48 kB / 0.5983 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1885, allocations: 4 kB / 0.5983 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1886, allocations: 0 / 0.5983 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1886, allocations: 3.984 kB / 0.5983 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1887, allocations: 169.5 kB / 0.5985 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1888, allocations: 8 kB / 0.5985 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.1888, allocations: 15.98 kB / 0.5985 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1889, allocations: 3.938 kB / 0.5985 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1889, allocations: 0 / 0.5985 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1889, allocations: 0 / 0.5985 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1889, allocations: 0 / 0.5985 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1892, allocations: 179.8 kB / 0.5987 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1892, allocations: 85.09 kB / 0.5988 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1892, allocations: 0 / 0.5988 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.1893, allocations: 4 kB / 0.5988 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.1894, allocations: 7.984 kB / 0.5988 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1894, allocations: 4 kB / 0.5988 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.1894, allocations: 87.27 kB / 0.5989 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1895, allocations: 0 / 0.5989 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1897, allocations: 11.94 kB / 0.5989 GB, free: 4.223 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.0005771/0.1903, allocations: 0.7201 MB / 0.5996 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1905, allocations: 39.95 kB / 0.5996 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1905, allocations: 7.938 kB / 0.5996 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.1906, allocations: 27.97 kB / 0.5997 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.191, allocations: 8.547 kB / 0.5997 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1924, allocations: 1.284 MB / 0.6009 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1927, allocations: 0.6846 MB / 0.6016 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.1927, allocations: 7.984 kB / 0.6016 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1928, allocations: 15.42 kB / 0.6016 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1928, allocations: 0 / 0.6016 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3376/0.5304, allocations: 1.521 MB / 0.6031 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.5306, allocations: 203.7 kB / 0.6033 GB, free: 43.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.304, allocations: 2.188 kB / 0.6033 GB, free: 43.9 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)