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.001089/0.001089, 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.001064/0.001064, allocations: 187.2 kB / 16.64 MB, free: 6.594 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.114/1.114, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.471/1.471, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001256/0.001256, allocations: 75.28 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001581/0.1622, allocations: 0.5887 MB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.1625, allocations: 55.78 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.1625, allocations: 0 / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.1625, allocations: 3.984 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-06/0.1625, allocations: 0 / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1628, allocations: 15.94 kB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.1628, allocations: 31.95 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1629, allocations: 12 kB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.1629, allocations: 7.984 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.453e-05/0.1629, allocations: 15.94 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.163, allocations: 4 kB / 0.7849 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.163, allocations: 19.97 kB / 0.7849 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.1631, allocations: 15.98 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1631, allocations: 7.938 kB / 0.7849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.776e-05/0.1632, allocations: 31.89 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1632, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1632, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1632, allocations: 0 / 0.7849 GB, free: 11.96 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.0002638/0.1635, allocations: 335.6 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1635, allocations: 16.02 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1635, allocations: 12.84 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.981e-05/0.1636, allocations: 164.3 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1636, allocations: 8.312 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1636, allocations: 4.375 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1637, allocations: 66.17 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1638, allocations: 192 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1638, allocations: 7.922 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1638, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1639, allocations: 103.8 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.1641, allocations: 177.6 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.1642, allocations: 70.55 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.1642, allocations: 28.84 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.1645, allocations: 413.4 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1645, allocations: 30.89 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1645, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002046/0.1647, allocations: 121.8 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.1647, allocations: 59.41 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.251e-05/0.1648, allocations: 89.86 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1648, allocations: 29.7 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.1648, allocations: 80.14 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1648, allocations: 27.64 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1649, allocations: 25.72 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.165, allocations: 318.8 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.165, allocations: 19.98 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.165, allocations: 35.91 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.1651, allocations: 60.83 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1651, allocations: 0 / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001162/0.1653, allocations: 85.67 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1653, allocations: 8 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1653, allocations: 3.938 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1653, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.1654, allocations: 27.86 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1654, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.1654, allocations: 3.906 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1654, allocations: 8 kB / 0.7873 GB, free: 9.25 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 7.931e-05/0.1655, allocations: 125.8 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.1655, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.1657, allocations: 129.4 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1657, allocations: 0 / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1657, allocations: 0 / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1657, allocations: 3.938 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.1658, allocations: 177.6 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1658, allocations: 4 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.1659, allocations: 15.98 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1659, allocations: 7.938 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1659, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1659, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1659, allocations: 11.92 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1661, allocations: 125 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.1661, allocations: 88.89 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1661, allocations: 4 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.1661, allocations: 7.938 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.1662, allocations: 11.98 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1662, allocations: 0 / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.1662, allocations: 75.28 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1662, allocations: 0 / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001862/0.1664, allocations: 16 kB / 0.788 GB, free: 8.355 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.0001253/0.1665, allocations: 115.2 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.1667, allocations: 64.39 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1667, allocations: 4 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.1667, allocations: 27.98 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1669, allocations: 12.42 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.1671, allocations: 148.8 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.1672, allocations: 0.6884 MB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.126e-05/0.1673, allocations: 39.72 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1673, allocations: 19.44 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1674, allocations: 0 / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.002014/0.1694, allocations: 0.5977 MB / 0.7897 GB, free: 6.59 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)