Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00252/0.00252, allocations: 358.4 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.469/1.469, allocations: 165.8 MB / 183.1 MB, free: 5.391 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.652/3.652, allocations: 410.8 MB / 0.6001 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 199.4 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005141, allocations: 23.94 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4027, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5883, allocations: 97.61 MB / 0.9041 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.5887, allocations: 79.94 kB / 0.9041 GB, free: 10.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002828/0.5915, allocations: 0.8242 MB / 0.9049 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5916, allocations: 0 / 0.9049 GB, free: 10.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.5916, allocations: 4 kB / 0.9049 GB, free: 10.14 MB / 458.7 MB 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.000348/0.592, allocations: 329.5 kB / 0.9053 GB, free: 9.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.592, allocations: 12.03 kB / 0.9053 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.5921, allocations: 7.906 kB / 0.9053 GB, free: 9.758 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5922, allocations: 163 kB / 0.9054 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5923, allocations: 4 kB / 0.9054 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.5923, allocations: 4 kB / 0.9054 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.5925, allocations: 69.59 kB / 0.9055 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5925, allocations: 0 / 0.9055 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5925, allocations: 3.953 kB / 0.9055 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5926, allocations: 0 / 0.9055 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.5928, allocations: 103.9 kB / 0.9056 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.593, allocations: 173.6 kB / 0.9058 GB, free: 9.152 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.5932, allocations: 70.55 kB / 0.9058 GB, free: 9.074 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.5933, allocations: 32.78 kB / 0.9059 GB, free: 9.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.5937, allocations: 405.5 kB / 0.9063 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5938, allocations: 34.56 kB / 0.9063 GB, free: 8.508 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.5938, allocations: 0 / 0.9063 GB, free: 8.508 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003586/0.5942, allocations: 113.8 kB / 0.9064 GB, free: 8.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5942, allocations: 63.36 kB / 0.9065 GB, free: 8.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.5943, allocations: 93.84 kB / 0.9066 GB, free: 8.215 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5943, allocations: 29.7 kB / 0.9066 GB, free: 8.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.5944, allocations: 80.33 kB / 0.9067 GB, free: 8.094 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.5944, allocations: 19.72 kB / 0.9067 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5944, allocations: 0 / 0.9067 GB, free: 8.074 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5946, allocations: 321.8 kB / 0.907 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.5947, allocations: 23.92 kB / 0.907 GB, free: 7.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.5948, allocations: 32.84 kB / 0.907 GB, free: 7.699 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.5949, allocations: 25.52 kB / 0.9071 GB, free: 7.676 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5949, allocations: 0 / 0.9071 GB, free: 7.676 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.5951, allocations: 89.66 kB / 0.9071 GB, free: 7.582 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5951, allocations: 10.66 kB / 0.9072 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5951, allocations: 0 / 0.9072 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5952, allocations: 0 / 0.9072 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.5954, allocations: 23.98 kB / 0.9072 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5954, allocations: 0 / 0.9072 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.5954, allocations: 11.8 kB / 0.9072 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.5955, allocations: 7.938 kB / 0.9072 GB, free: 7.531 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.5956, allocations: 128.2 kB / 0.9073 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.5956, allocations: 3.984 kB / 0.9073 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.596, allocations: 121.7 kB / 0.9074 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.596, allocations: 4 kB / 0.9074 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.596, allocations: 0 / 0.9074 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.596, allocations: 4 kB / 0.9074 GB, free: 7.266 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.5963, allocations: 181.5 kB / 0.9076 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5963, allocations: 0 / 0.9076 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.5964, allocations: 23.92 kB / 0.9076 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5965, allocations: 0 / 0.9076 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.5965, allocations: 4 kB / 0.9076 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5965, allocations: 0 / 0.9076 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5965, allocations: 0 / 0.9076 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.5969, allocations: 126.1 kB / 0.9078 GB, free: 6.871 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.597, allocations: 85.11 kB / 0.9078 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.597, allocations: 4 kB / 0.9079 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.597, allocations: 0 / 0.9079 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.5971, allocations: 7.984 kB / 0.9079 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.5971, allocations: 4 kB / 0.9079 GB, free: 6.754 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.5972, allocations: 79.22 kB / 0.9079 GB, free: 6.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5972, allocations: 0 / 0.9079 GB, free: 6.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.5977, allocations: 23.94 kB / 0.908 GB, free: 6.652 MB / 458.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.598, allocations: 123.2 kB / 0.9081 GB, free: 6.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.5983, allocations: 56.02 kB / 0.9081 GB, free: 6.465 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5983, allocations: 0 / 0.9081 GB, free: 6.465 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.5984, allocations: 39.92 kB / 0.9082 GB, free: 6.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.5987, allocations: 3.953 kB / 0.9082 GB, free: 6.422 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.5992, allocations: 158.6 kB / 0.9083 GB, free: 6.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5996, allocations: 0.6887 MB / 0.909 GB, free: 5.523 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.5998, allocations: 35.94 kB / 0.909 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.5998, allocations: 15.42 kB / 0.909 GB, free: 5.473 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5999, allocations: 0 / 0.909 GB, free: 5.473 MB / 458.7 MB Notification: Performance of Templates: time 0.004125/0.604, allocations: 0.5593 MB / 0.9096 GB, free: 4.914 MB / 458.7 MB