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.001409/0.001409, allocations: 100.1 kB / 15.88 MB, free: 12 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.001091/0.001091, allocations: 200.2 kB / 16.79 MB, free: 6.828 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.52 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.9743/0.9743, allocations: 143.1 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 0.5142 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 82.04 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001872/0.1445, allocations: 0.6465 MB / 0.5949 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.1448, allocations: 59.78 kB / 0.595 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1448, allocations: 0 / 0.595 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1449, allocations: 0 / 0.595 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-06/0.1449, allocations: 0 / 0.595 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1451, allocations: 11.98 kB / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.1452, allocations: 31.97 kB / 0.595 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.1453, allocations: 11.88 kB / 0.595 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.499e-05/0.1453, allocations: 7.984 kB / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.78e-05/0.1453, allocations: 19.92 kB / 0.595 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1453, allocations: 0 / 0.595 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1454, allocations: 19.98 kB / 0.5951 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.1455, allocations: 4 kB / 0.5951 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.1455, allocations: 19.91 kB / 0.5951 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.062e-05/0.1456, allocations: 19.98 kB / 0.5951 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1456, allocations: 0 / 0.5951 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.12e-07/0.1456, allocations: 0 / 0.5951 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1456, allocations: 0 / 0.5951 GB, free: 9.223 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.0003264/0.1459, allocations: 339.6 kB / 0.5954 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.146, allocations: 8.031 kB / 0.5954 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.146, allocations: 8.844 kB / 0.5954 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.1461, allocations: 168.6 kB / 0.5956 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1461, allocations: 8.312 kB / 0.5956 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1461, allocations: 4.375 kB / 0.5956 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1463, allocations: 70.16 kB / 0.5957 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1463, allocations: 192 / 0.5957 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1463, allocations: 3.938 kB / 0.5957 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1463, allocations: 0 / 0.5957 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1465, allocations: 103.9 kB / 0.5958 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1466, allocations: 165.7 kB / 0.5959 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1467, allocations: 74.55 kB / 0.596 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1468, allocations: 32.84 kB / 0.596 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.1471, allocations: 405.5 kB / 0.5964 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1471, allocations: 34.5 kB / 0.5965 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1471, allocations: 336 / 0.5965 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002369/0.1474, allocations: 121.4 kB / 0.5966 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1474, allocations: 51.41 kB / 0.5966 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.1475, allocations: 105.8 kB / 0.5967 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1475, allocations: 25.7 kB / 0.5968 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.1475, allocations: 80.14 kB / 0.5968 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1476, allocations: 23.66 kB / 0.5969 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1476, allocations: 33.7 kB / 0.5969 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1477, allocations: 310.8 kB / 0.5972 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.1478, allocations: 19.98 kB / 0.5972 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.1478, allocations: 23.92 kB / 0.5972 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1479, allocations: 68.77 kB / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1479, allocations: 3.938 kB / 0.5973 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001249/0.1481, allocations: 86.33 kB / 0.5974 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1481, allocations: 4 kB / 0.5974 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1481, allocations: 3.938 kB / 0.5974 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1481, allocations: 4 kB / 0.5974 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.1482, allocations: 15.98 kB / 0.5974 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1482, allocations: 11.88 kB / 0.5974 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.1482, allocations: 7.906 kB / 0.5974 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1483, allocations: 4 kB / 0.5974 GB, free: 6.523 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.0001346/0.1484, allocations: 125.8 kB / 0.5975 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.1484, allocations: 0 / 0.5975 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.1486, allocations: 129.5 kB / 0.5977 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1486, allocations: 7.984 kB / 0.5977 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1486, allocations: 0 / 0.5977 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1486, allocations: 0 / 0.5977 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1488, allocations: 177.6 kB / 0.5978 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1488, allocations: 0 / 0.5978 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1489, allocations: 23.92 kB / 0.5979 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1489, allocations: 3.938 kB / 0.5979 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1489, allocations: 8 kB / 0.5979 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1489, allocations: 0 / 0.5979 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1489, allocations: 3.984 kB / 0.5979 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.149, allocations: 117 kB / 0.598 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.1491, allocations: 92.95 kB / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1491, allocations: 0 / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.1491, allocations: 7.984 kB / 0.5981 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1492, allocations: 7.938 kB / 0.5981 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1492, allocations: 7.984 kB / 0.5981 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.1492, allocations: 75.28 kB / 0.5982 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1492, allocations: 0 / 0.5982 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001896/0.1494, allocations: 16 kB / 0.5982 GB, free: 5.629 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.0001716/0.1496, allocations: 115.2 kB / 0.5983 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1497, allocations: 67.89 kB / 0.5984 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1497, allocations: 0 / 0.5984 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.1498, allocations: 35.92 kB / 0.5984 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1499, allocations: 11.2 kB / 0.5984 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.1502, allocations: 182.5 kB / 0.5986 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1504, allocations: 0.6809 MB / 0.5993 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.1504, allocations: 19.44 kB / 0.5993 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1505, allocations: 0 / 0.5993 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.0021/0.1526, allocations: 0.9758 MB / 0.6002 GB, free: 3.488 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)