Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.00117/0.00117, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.83/1.83, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001424/0.001424, allocations: 67.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 114.6 MB / 0.784 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003113/0.2723, allocations: 1.522 MB / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.2727, allocations: 132.5 kB / 0.7856 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.2728, allocations: 0 / 0.7856 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.2729, allocations: 7.938 kB / 0.7856 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.2729, allocations: 3.938 kB / 0.7856 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.2733, allocations: 27.95 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.2734, allocations: 39.86 kB / 0.7857 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2735, allocations: 12 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.2735, allocations: 15.98 kB / 0.7857 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.2736, allocations: 23.91 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2736, allocations: 4 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.2737, allocations: 11.98 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2737, allocations: 19.86 kB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.2738, allocations: 15.94 kB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2739, allocations: 39.88 kB / 0.7858 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2739, allocations: 0 / 0.7858 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.274, allocations: 0 / 0.7858 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.274, allocations: 4 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005884/0.2746, allocations: 355.7 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2746, allocations: 8.031 kB / 0.7862 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.2747, allocations: 4.938 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2748, allocations: 168.2 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2749, allocations: 4.375 kB / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2749, allocations: 384 / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.2751, allocations: 70.2 kB / 0.7864 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2751, allocations: 8.125 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2751, allocations: 7.938 kB / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2752, allocations: 0 / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.2754, allocations: 43.89 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.2758, allocations: 288.7 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.2761, allocations: 58.55 kB / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2763, allocations: 32.83 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.2766, allocations: 397.5 kB / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2766, allocations: 34.56 kB / 0.7873 GB, free: 240 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2766, allocations: 0 / 0.7873 GB, free: 240 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004063/0.2771, allocations: 93.62 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2771, allocations: 51.41 kB / 0.7874 GB, free: 76 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.472/0.7491, allocations: 107.9 kB / 0.7875 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7492, allocations: 25.7 kB / 0.7875 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.7493, allocations: 84.95 kB / 0.7876 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.7493, allocations: 9.344 kB / 0.7876 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.7493, allocations: 18.11 kB / 0.7876 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.7494, allocations: 322.7 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.7495, allocations: 18.02 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.7496, allocations: 22.78 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.7498, allocations: 47.23 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7498, allocations: 2.125 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002459/0.7501, allocations: 75.72 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7501, allocations: 6.031 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7501, allocations: 4.453 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.7501, allocations: 1 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.7502, allocations: 11.7 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7502, allocations: 1.938 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.7503, allocations: 8.016 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.7503, allocations: 0 / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.849e-05/0.7504, allocations: 119.8 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.7504, allocations: 6.719 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.7507, allocations: 86.78 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7507, allocations: 2.656 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7507, allocations: 3.375 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7507, allocations: 3.422 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.7509, allocations: 166 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7509, allocations: 0 / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.751, allocations: 10.8 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.751, allocations: 0 / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.751, allocations: 7.312 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.751, allocations: 0 / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.751, allocations: 3 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.7512, allocations: 176.2 kB / 0.7887 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.7513, allocations: 78.83 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.7513, allocations: 6.781 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.7514, allocations: 5.125 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.7514, allocations: 10.2 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.7515, allocations: 0 / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.7515, allocations: 91.25 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7515, allocations: 0 / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002445/0.7517, allocations: 19.08 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001466/0.7519, allocations: 103.9 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.7521, allocations: 56.77 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7522, allocations: 0 / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.7523, allocations: 23.88 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.7526, allocations: 6.422 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.7529, allocations: 140.9 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.753, allocations: 0.6821 MB / 0.7899 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.753, allocations: 10.81 kB / 0.7899 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.753, allocations: 5.188 kB / 0.7899 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.002267/0.7553, allocations: 0.7918 MB / 0.7907 GB, free: 46.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)