Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 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.001095/0.001095, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.75 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001561/0.1623, allocations: 0.5939 MB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.1625, allocations: 59.78 kB / 0.784 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.1625, allocations: 0 / 0.784 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.1626, allocations: 0 / 0.784 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-06/0.1626, allocations: 0 / 0.784 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1628, allocations: 15.92 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.1629, allocations: 35.95 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1629, allocations: 8 kB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.1629, allocations: 8 kB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.163, allocations: 11.98 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.163, allocations: 7.984 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.163, allocations: 15.98 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.1631, allocations: 15.94 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1631, allocations: 15.92 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.1632, allocations: 31.89 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1632, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1632, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1632, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 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.0002499/0.1634, allocations: 331.9 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.1635, allocations: 8.031 kB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1635, allocations: 12.84 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.1636, allocations: 168.3 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1636, allocations: 4.375 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1636, allocations: 8.375 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1637, allocations: 70.05 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1637, allocations: 192 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1638, allocations: 3.938 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1638, allocations: 3.938 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1639, allocations: 103.9 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.164, allocations: 169.7 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.1641, allocations: 74.53 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.1642, allocations: 36.78 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.1644, allocations: 401.5 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1644, allocations: 34.56 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1644, allocations: 0 / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0001979/0.1647, allocations: 125.7 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.1647, allocations: 59.41 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.168e-05/0.1647, allocations: 93.86 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1647, allocations: 25.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.1648, allocations: 80.14 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1648, allocations: 23.66 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1648, allocations: 33.7 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.1649, allocations: 314.8 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.1649, allocations: 23.92 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.165, allocations: 23.98 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.155e-05/0.1651, allocations: 60.78 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1651, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001152/0.1652, allocations: 89.66 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1652, allocations: 4.938 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1652, allocations: 11.94 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1652, allocations: 0 / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.1653, allocations: 15.94 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1653, allocations: 7.984 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.1653, allocations: 7.906 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1654, allocations: 8 kB / 0.7865 GB, free: 9.957 MB / 0.6075 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 8.505e-05/0.1655, allocations: 121.6 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1655, allocations: 3.984 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.1657, allocations: 134 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1657, allocations: 4 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1657, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1657, allocations: 4 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.1658, allocations: 173.6 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1658, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1659, allocations: 16 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1659, allocations: 3.938 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1659, allocations: 11.98 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1659, allocations: 3.938 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1659, allocations: 0 / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.166, allocations: 125 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.166, allocations: 96.88 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.1661, allocations: 0 / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.1661, allocations: 4 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1661, allocations: 7.984 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1661, allocations: 4 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.1662, allocations: 75.28 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001768/0.1663, allocations: 16 kB / 0.7873 GB, free: 9.066 MB / 0.6075 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.0001214/0.1665, allocations: 113.3 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1666, allocations: 75.91 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1666, allocations: 3.938 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.1667, allocations: 39.92 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.1668, allocations: 0 / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.167, allocations: 156.8 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1671, allocations: 0.6807 MB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.543e-05/0.1672, allocations: 35.94 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1672, allocations: 11.44 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1672, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.002076/0.1693, allocations: 0.6111 MB / 0.7889 GB, free: 7.289 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)