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.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.077/1.077, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1942, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.004177/0.1985, allocations: 1.519 MB / 0.5959 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000523/0.199, allocations: 124.5 kB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.1991, allocations: 4 kB / 0.596 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.1992, allocations: 7.938 kB / 0.596 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.1993, allocations: 3.938 kB / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1997, allocations: 31.95 kB / 0.596 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.1998, allocations: 39.86 kB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1999, allocations: 11.98 kB / 0.5961 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.2, allocations: 15.94 kB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.2, allocations: 23.89 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2, allocations: 4 kB / 0.5961 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.2002, allocations: 16 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.2002, allocations: 11.98 kB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.2002, allocations: 11.94 kB / 0.5962 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2004, allocations: 55.8 kB / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2005, allocations: 3.938 kB / 0.5962 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.108e-06/0.2005, allocations: 0 / 0.5962 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.2005, allocations: 3.938 kB / 0.5962 GB, free: 7.59 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.0006533/0.2011, allocations: 343.7 kB / 0.5965 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.2012, allocations: 16.03 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.2013, allocations: 38.73 kB / 0.5966 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.2013, allocations: 4.844 kB / 0.5966 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2015, allocations: 164.4 kB / 0.5968 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2015, allocations: 4.375 kB / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.2015, allocations: 8.375 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.2017, allocations: 58.22 kB / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2018, allocations: 7.922 kB / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2018, allocations: 4 kB / 0.5968 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2018, allocations: 4 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.202, allocations: 47.89 kB / 0.5969 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.2024, allocations: 284.7 kB / 0.5972 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.2028, allocations: 54.53 kB / 0.5972 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2029, allocations: 32.84 kB / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.2032, allocations: 405.5 kB / 0.5976 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2033, allocations: 30.56 kB / 0.5977 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2033, allocations: 0 / 0.5977 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004314/0.2037, allocations: 89.62 kB / 0.5977 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2037, allocations: 63.41 kB / 0.5978 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2039, allocations: 109.8 kB / 0.5979 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2039, allocations: 25.7 kB / 0.5979 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2039, allocations: 88.14 kB / 0.598 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.204, allocations: 3.906 kB / 0.598 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.204, allocations: 17.72 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2042, allocations: 318.8 kB / 0.5983 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.2043, allocations: 27.92 kB / 0.5984 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2044, allocations: 23.98 kB / 0.5984 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2046, allocations: 40.77 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2046, allocations: 0 / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000242/0.2048, allocations: 81.55 kB / 0.5985 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2048, allocations: 4 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2049, allocations: 4 kB / 0.5985 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2049, allocations: 0 / 0.5985 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.205, allocations: 11.98 kB / 0.5985 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.205, allocations: 3.938 kB / 0.5985 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.2051, allocations: 4 kB / 0.5985 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2051, allocations: 7.984 kB / 0.5985 GB, free: 4.879 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.489e-05/0.2052, allocations: 117.7 kB / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2052, allocations: 4 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.2055, allocations: 81.55 kB / 0.5987 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2055, allocations: 4.375 kB / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2055, allocations: 0 / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2055, allocations: 0 / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2057, allocations: 173.5 kB / 0.5989 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2057, allocations: 0 / 0.5989 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.2058, allocations: 15.97 kB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2058, allocations: 0 / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2059, allocations: 4 kB / 0.5989 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2059, allocations: 3.938 kB / 0.5989 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2059, allocations: 0 / 0.5989 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.2062, allocations: 179.5 kB / 0.5991 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2062, allocations: 81.11 kB / 0.5992 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2063, allocations: 4 kB / 0.5992 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.2063, allocations: 11.98 kB / 0.5992 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2064, allocations: 4 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2064, allocations: 7.984 kB / 0.5992 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.2065, allocations: 79.28 kB / 0.5993 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2065, allocations: 0 / 0.5993 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002468/0.2068, allocations: 15.94 kB / 0.5993 GB, free: 4 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.0007111/0.2075, allocations: 0.7201 MB / 0.6 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.2078, allocations: 47.95 kB / 0.6 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.2078, allocations: 0 / 0.6 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2079, allocations: 35.84 kB / 0.6001 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.2083, allocations: 13.77 kB / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.2101, allocations: 1.284 MB / 0.6013 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2104, allocations: 0.6806 MB / 0.602 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.2104, allocations: 8 kB / 0.602 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.2105, allocations: 19.38 kB / 0.602 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2105, allocations: 0 / 0.602 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3347/0.5452, allocations: 1.661 MB / 0.6037 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.426, allocations: 2.875 kB / 0.6037 GB, free: 43.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)