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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006818/0.0006818, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0007395/0.0007395, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.406 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.8731/0.8731, allocations: 143.2 MB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1328, allocations: 83.42 MB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005491/0.1334, allocations: 311 kB / 0.5976 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001888/0.1336, allocations: 51.84 kB / 0.5976 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.1336, allocations: 3.938 kB / 0.5976 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1337, allocations: 0 / 0.5976 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.007e-06/0.1337, allocations: 0 / 0.5976 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1338, allocations: 11.98 kB / 0.5976 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.1339, allocations: 39.95 kB / 0.5977 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.1339, allocations: 0 / 0.5977 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.134, allocations: 4 kB / 0.5977 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.422e-05/0.134, allocations: 15.98 kB / 0.5977 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.134, allocations: 3.984 kB / 0.5977 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.1341, allocations: 11.94 kB / 0.5977 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1341, allocations: 15.98 kB / 0.5977 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1341, allocations: 29.64 kB / 0.5977 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.446e-05/0.1342, allocations: 27.95 kB / 0.5978 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1342, allocations: 0 / 0.5978 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1342, allocations: 4 kB / 0.5978 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.415e-06/0.1342, allocations: 0 / 0.5978 GB, free: 7.539 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.0002365/0.1344, allocations: 319.4 kB / 0.5981 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.1345, allocations: 12.03 kB / 0.5981 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.1345, allocations: 3.906 kB / 0.5981 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.1346, allocations: 179.2 kB / 0.5983 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.1346, allocations: 0 / 0.5983 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1346, allocations: 4 kB / 0.5983 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1347, allocations: 61.66 kB / 0.5983 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.1348, allocations: 4 kB / 0.5983 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1348, allocations: 4 kB / 0.5983 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1348, allocations: 4 kB / 0.5983 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1349, allocations: 95.88 kB / 0.5984 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1351, allocations: 177.5 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.1352, allocations: 70.48 kB / 0.5987 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.1352, allocations: 32.84 kB / 0.5987 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.1355, allocations: 405.5 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1355, allocations: 38.56 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1355, allocations: 0 / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002315/0.1357, allocations: 109.9 kB / 0.5992 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.1358, allocations: 55.34 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.1359, allocations: 105.8 kB / 0.5994 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1359, allocations: 25.7 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.1359, allocations: 80.33 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.136, allocations: 27.64 kB / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.136, allocations: 11.94 kB / 0.5995 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1361, allocations: 310.8 kB / 0.5998 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.1362, allocations: 19.98 kB / 0.5998 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.1362, allocations: 20.42 kB / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.049e-05/0.1363, allocations: 36.09 kB / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1363, allocations: 0 / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001395/0.1365, allocations: 89.61 kB / 0.6 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1365, allocations: 7.984 kB / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1365, allocations: 0 / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1365, allocations: 0 / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1366, allocations: 23.94 kB / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1366, allocations: 0 / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.1366, allocations: 11.91 kB / 0.6 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1367, allocations: 3.984 kB / 0.6 GB, free: 4.926 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1368, allocations: 121.8 kB / 0.6001 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1368, allocations: 7.984 kB / 0.6001 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1371, allocations: 133.5 kB / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1371, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1371, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1371, allocations: 4 kB / 0.6003 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1373, allocations: 173.6 kB / 0.6004 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1373, allocations: 3.953 kB / 0.6004 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.1373, allocations: 20 kB / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1374, allocations: 0 / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1374, allocations: 7.984 kB / 0.6005 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1374, allocations: 0 / 0.6005 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1374, allocations: 8 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.1375, allocations: 117.3 kB / 0.6006 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1376, allocations: 85.05 kB / 0.6007 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1376, allocations: 0 / 0.6007 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.1376, allocations: 8 kB / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1377, allocations: 7.984 kB / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1377, allocations: 0 / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.1377, allocations: 79.28 kB / 0.6008 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 4 kB / 0.6008 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001888/0.1379, allocations: 12 kB / 0.6008 GB, free: 4.043 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.1381, allocations: 118.1 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1383, allocations: 63.89 kB / 0.6009 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1383, allocations: 0 / 0.6009 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.1383, allocations: 31.98 kB / 0.601 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1385, allocations: 8 kB / 0.601 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1387, allocations: 154.4 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.139, allocations: 0.6848 MB / 0.6018 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.475e-05/0.1391, allocations: 35.94 kB / 0.6018 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1391, allocations: 15.44 kB / 0.6019 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1391, allocations: 4 kB / 0.6019 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.002496/0.1416, allocations: 0.5861 MB / 0.6024 GB, free: 2.293 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)