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.0012/0.001201, allocations: 105.4 kB / 15.7 MB, free: 24 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.001204/0.001204, allocations: 198.1 kB / 16.64 MB, free: 6.449 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 4.344 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.9544/0.9544, allocations: 143 MB / 433.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 82.04 MB / 0.5946 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001598/0.1451, allocations: 0.5738 MB / 0.5951 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.1453, allocations: 59.77 kB / 0.5952 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.1453, allocations: 0 / 0.5952 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.1454, allocations: 0 / 0.5952 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-06/0.1454, allocations: 0 / 0.5952 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1456, allocations: 27.92 kB / 0.5952 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.1457, allocations: 31.92 kB / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1458, allocations: 0 / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.1458, allocations: 15.97 kB / 0.5953 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.382e-05/0.1458, allocations: 8 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1458, allocations: 0 / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.1459, allocations: 19.98 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.1459, allocations: 15.97 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.146, allocations: 11.88 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.1461, allocations: 27.95 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1461, allocations: 3.938 kB / 0.5953 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1461, allocations: 7.938 kB / 0.5953 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1461, allocations: 0 / 0.5953 GB, free: 8.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003043/0.1464, allocations: 343.6 kB / 0.5957 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1464, allocations: 8.031 kB / 0.5957 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.1465, allocations: 30.75 kB / 0.5957 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.1465, allocations: 16.78 kB / 0.5957 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.1466, allocations: 168.6 kB / 0.5959 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1466, allocations: 4.375 kB / 0.5959 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1466, allocations: 384 / 0.5959 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1468, allocations: 70.22 kB / 0.596 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1468, allocations: 3.938 kB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1468, allocations: 4 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1468, allocations: 0 / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1469, allocations: 107.8 kB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1471, allocations: 165.7 kB / 0.5962 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1472, allocations: 82.56 kB / 0.5963 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.1473, allocations: 28.84 kB / 0.5963 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.1476, allocations: 409.5 kB / 0.5967 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1476, allocations: 30.56 kB / 0.5968 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1476, allocations: 0 / 0.5968 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002178/0.1478, allocations: 117.4 kB / 0.5969 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1479, allocations: 59.39 kB / 0.5969 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.722e-05/0.1479, allocations: 94.08 kB / 0.597 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1479, allocations: 25.7 kB / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.1479, allocations: 88.08 kB / 0.5971 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.148, allocations: 23.66 kB / 0.5971 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.148, allocations: 33.7 kB / 0.5972 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.1481, allocations: 314.8 kB / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.1481, allocations: 19.98 kB / 0.5975 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.1482, allocations: 20.42 kB / 0.5975 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.1483, allocations: 60.98 kB / 0.5976 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1483, allocations: 0 / 0.5976 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001293/0.1484, allocations: 97.55 kB / 0.5977 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1484, allocations: 15.92 kB / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1485, allocations: 0 / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1485, allocations: 4 kB / 0.5977 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1486, allocations: 12 kB / 0.5977 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1486, allocations: 4 kB / 0.5977 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1486, allocations: 3.906 kB / 0.5977 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1486, allocations: 11.92 kB / 0.5977 GB, free: 5.836 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.0001024/0.1487, allocations: 125.8 kB / 0.5978 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.1487, allocations: 7.938 kB / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.1489, allocations: 125.4 kB / 0.598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.149, allocations: 4 kB / 0.598 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.149, allocations: 3.938 kB / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.149, allocations: 0 / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.1491, allocations: 169.7 kB / 0.5981 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1491, allocations: 3.984 kB / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.1492, allocations: 16 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1492, allocations: 3.938 kB / 0.5982 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1492, allocations: 11.92 kB / 0.5982 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1492, allocations: 4 kB / 0.5982 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1492, allocations: 0 / 0.5982 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1493, allocations: 109.1 kB / 0.5983 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1494, allocations: 96.89 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1494, allocations: 7.984 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.1494, allocations: 0 / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1495, allocations: 4 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1495, allocations: 11.98 kB / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.148e-05/0.1495, allocations: 83.22 kB / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001946/0.1497, allocations: 12 kB / 0.5985 GB, free: 4.945 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.0004353/0.1501, allocations: 0.6631 MB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1503, allocations: 76.27 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1503, allocations: 0 / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.1504, allocations: 32.2 kB / 0.5992 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1505, allocations: 6.094 kB / 0.5992 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.1508, allocations: 182.4 kB / 0.5994 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1511, allocations: 0.6884 MB / 0.6001 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.518e-05/0.1512, allocations: 39.94 kB / 0.6001 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.1512, allocations: 15.44 kB / 0.6001 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1512, allocations: 0 / 0.6001 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.167, allocations: 1.584 MB / 0.6017 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.466, allocations: 7.219 kB / 0.6017 GB, free: 1.707 MB / 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)