Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 252.6 MB / 265.2 MB, free: 5.734 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 177.6 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 0.5754 GB, free: 10.37 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 93.58 kB / 0.6797 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.506e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8606/1.052, allocations: 131.8 MB / 1.024 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.052, allocations: 72.95 kB / 1.024 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004361/1.056, allocations: 1.041 MB / 1.025 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.268e-06/1.056, allocations: 0 / 1.025 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.056, allocations: 7.938 kB / 1.025 GB, free: 1.637 MB / 0.6355 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.0004968/1.057, allocations: 354.8 kB / 1.025 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.057, allocations: 8.031 kB / 1.025 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/1.057, allocations: 4.875 kB / 1.025 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.057, allocations: 170.9 kB / 1.025 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/1.057, allocations: 0 / 1.025 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.057, allocations: 7.5 kB / 1.025 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.057, allocations: 48.75 kB / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/1.057, allocations: 0 / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.058, allocations: 0 / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.058, allocations: 7.984 kB / 1.025 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.792e-05/1.058, allocations: 22.69 kB / 1.025 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/1.058, allocations: 282.2 kB / 1.026 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/1.059, allocations: 45.31 kB / 1.026 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/1.059, allocations: 23.11 kB / 1.026 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/1.059, allocations: 397.5 kB / 1.026 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/1.059, allocations: 34.5 kB / 1.026 GB, free: 60 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/1.059, allocations: 0 / 1.026 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.00022/1.059, allocations: 60.17 kB / 1.026 GB, free: 0 / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.059, allocations: 51.41 kB / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.059, allocations: 108.2 kB / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.059, allocations: 25.7 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/1.059, allocations: 90.64 kB / 1.026 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/1.06, allocations: 7.969 kB / 1.026 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/1.06, allocations: 0 / 1.026 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.06, allocations: 314.2 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/1.06, allocations: 7.312 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/1.06, allocations: 14.98 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/1.06, allocations: 7.938 kB / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.06, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/1.06, allocations: 52.38 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.06, allocations: 8 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.06, allocations: 3.938 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.06, allocations: 0 / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/1.06, allocations: 15.98 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.06, allocations: 3.953 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/1.06, allocations: 15.83 kB / 1.027 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.06, allocations: 4 kB / 1.027 GB, free: 15.27 MB / 0.6511 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,falFac.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/1.06, allocations: 108 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/1.061, allocations: 0 / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/1.061, allocations: 66.45 kB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.061, allocations: 4.031 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.061, allocations: 0 / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.061, allocations: 3.953 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/1.061, allocations: 163.9 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.061, allocations: 0 / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/1.061, allocations: 15.98 kB / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.061, allocations: 4 kB / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.061, allocations: 0 / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.061, allocations: 0 / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.061, allocations: 0 / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/1.061, allocations: 157 kB / 1.027 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/1.061, allocations: 81.11 kB / 1.027 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.062, allocations: 3.984 kB / 1.027 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/1.062, allocations: 8 kB / 1.027 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/1.062, allocations: 11.42 kB / 1.027 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.062, allocations: 0 / 1.027 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.017e-05/1.062, allocations: 86.78 kB / 1.027 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/1.062, allocations: 0 / 1.027 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003082/1.062, allocations: 27.86 kB / 1.028 GB, free: 14.47 MB / 0.6511 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 (falFac.y,falFac.k) * Number of discrete 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 (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.0001954/1.062, allocations: 105.1 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001241/1.062, allocations: 18.69 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.063, allocations: 8 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/1.063, allocations: 19.48 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/1.063, allocations: 6.359 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/1.063, allocations: 76.03 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/1.063, allocations: 0.6848 MB / 1.028 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.129e-05/1.063, allocations: 8 kB / 1.028 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/1.064, allocations: 7.438 kB / 1.028 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.064, allocations: 3.938 kB / 1.028 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.003587/1.067, allocations: 0.6471 MB / 1.029 GB, free: 12.87 MB / 0.6511 GB