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.001058/0.001058, allocations: 103.9 kB / 16.35 MB, free: 5.879 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.001056/0.001056, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001412/0.001412, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2079, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001815/0.2097, allocations: 0.5864 MB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.21, allocations: 59.78 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.21, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.2101, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.2101, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2104, allocations: 15.98 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.2105, allocations: 31.91 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2105, allocations: 7.984 kB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.2105, allocations: 4 kB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.2106, allocations: 15.98 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2106, allocations: 0 / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.2107, allocations: 27.92 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.2107, allocations: 15.98 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.2107, allocations: 11.92 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.283e-05/0.2108, allocations: 31.89 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2109, allocations: 0 / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2109, allocations: 0 / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2109, allocations: 0 / 0.7856 GB, free: 2.352 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002888/0.2112, allocations: 335.6 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2112, allocations: 12.03 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2112, allocations: 4.844 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.2113, allocations: 172.3 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2114, allocations: 4.375 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2114, allocations: 12.38 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2115, allocations: 70.09 kB / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2115, allocations: 192 / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2115, allocations: 3.938 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2116, allocations: 0 / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2117, allocations: 103.8 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.2119, allocations: 169.7 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.212, allocations: 74.55 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.212, allocations: 32.84 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.2124, allocations: 401.5 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2124, allocations: 34.5 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.2124, allocations: 0 / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002638/0.2127, allocations: 125.7 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2128, allocations: 55.41 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.889e-05/0.2128, allocations: 101.8 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2128, allocations: 25.7 kB / 0.7872 GB, free: 368 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.2129, allocations: 80.14 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2129, allocations: 27.64 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.2129, allocations: 33.7 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3235/0.5364, allocations: 310.8 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.5365, allocations: 19.3 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.5366, allocations: 18.58 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.5367, allocations: 64.88 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5367, allocations: 0 / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001429/0.5368, allocations: 94.25 kB / 0.7878 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5369, allocations: 6.812 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5369, allocations: 4.344 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5369, allocations: 4.25 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.537, allocations: 21.34 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.537, allocations: 0 / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.537, allocations: 6 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5371, allocations: 3.156 kB / 0.7879 GB, free: 48.5 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: 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.000123/0.5372, allocations: 124.9 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5372, allocations: 3.531 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.5374, allocations: 127 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5374, allocations: 3.938 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5374, allocations: 0.5938 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5374, allocations: 0 / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.5375, allocations: 173.5 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5375, allocations: 0 / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.5376, allocations: 27.5 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5376, allocations: 0 / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5376, allocations: 6.562 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5376, allocations: 3.938 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5376, allocations: 0.6562 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.5378, allocations: 120.2 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.5378, allocations: 85.25 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.5378, allocations: 6.75 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.5378, allocations: 7.594 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.5379, allocations: 7.766 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.5379, allocations: 3.625 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.5379, allocations: 75.84 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5379, allocations: 0 / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002284/0.5381, allocations: 16.62 kB / 0.7886 GB, free: 47.92 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: 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.000138/0.5383, allocations: 115.2 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5384, allocations: 65 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5384, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.5385, allocations: 42.28 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.5386, allocations: 8.75 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.5388, allocations: 136.6 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.5389, allocations: 0.6828 MB / 0.7897 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.539, allocations: 45.8 kB / 0.7897 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.539, allocations: 12.88 kB / 0.7897 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.539, allocations: 0 / 0.7897 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.002426/0.5415, allocations: 0.6106 MB / 0.7903 GB, free: 47.04 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)