Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.07/5.07, allocations: 0.5623 GB / 0.577 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003478/0.003477, allocations: 359.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.245/4.245, allocations: 410.7 MB / 1.112 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001778, allocations: 181 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004987, allocations: 12 kB / 1.348 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5901, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005943/0.5907, allocations: 322.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.5909, allocations: 54.34 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.591, allocations: 0.5938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.591, allocations: 1.906 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-06/0.591, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.5912, allocations: 11.98 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.5913, allocations: 23.97 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.5913, allocations: 11.92 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.5914, allocations: 8 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.5914, allocations: 12.64 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5914, allocations: 6.75 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.5915, allocations: 15.98 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.5915, allocations: 11.98 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.5916, allocations: 29.7 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.5916, allocations: 19.91 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.101e-06/0.5917, allocations: 3.984 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.798e-06/0.5917, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.574e-06/0.5917, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 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.0002257/0.5919, allocations: 331.7 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.592, allocations: 11.62 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.592, allocations: 7.906 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.866e-05/0.5921, allocations: 167 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5921, allocations: 10.16 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5921, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.5923, allocations: 65.66 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.499e-06/0.5923, allocations: 0.6094 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-06/0.5923, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-06/0.5923, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.5925, allocations: 102 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.5926, allocations: 179.3 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5928, allocations: 79.56 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.5928, allocations: 28.84 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.5931, allocations: 402.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.5931, allocations: 39.19 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.043e-06/0.5931, allocations: 0.875 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002443/0.5934, allocations: 110.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.5934, allocations: 56.53 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.5934, allocations: 93.86 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.5935, allocations: 30.52 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.539e-05/0.5935, allocations: 80.33 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.5935, allocations: 32.19 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-06/0.5935, allocations: 5.781 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.5936, allocations: 314.8 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.5937, allocations: 19.98 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.5937, allocations: 19.98 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.5938, allocations: 25.92 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5938, allocations: 7.891 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001517/0.5939, allocations: 90.38 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.594, allocations: 12.16 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.594, allocations: 0 / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.594, allocations: 9.547 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5941, allocations: 19.94 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.71e-06/0.5942, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.5942, allocations: 3.906 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5942, allocations: 12.67 kB / 1.464 GB, free: 281.2 MB / 0.8542 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 (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.0001157/0.5943, allocations: 118.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.5944, allocations: 4.859 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.5946, allocations: 132.4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-06/0.5946, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.153e-06/0.5946, allocations: 0.875 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-06/0.5946, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.5948, allocations: 170.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-06/0.5948, allocations: 7.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.5949, allocations: 19.94 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.345e-06/0.5949, allocations: 1.781 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.5949, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-06/0.5949, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.772e-06/0.5949, allocations: 3.984 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.5951, allocations: 123.2 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.5951, allocations: 85.11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5951, allocations: 7.938 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.5952, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.5952, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5952, allocations: 12.89 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.458e-05/0.5953, allocations: 76.19 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.22e-07/0.5953, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002669/0.5955, allocations: 12 kB / 1.464 GB, free: 280.3 MB / 0.8542 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 (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.0001669/0.5957, allocations: 116 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.5959, allocations: 64.77 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.753e-06/0.5959, allocations: 0.8438 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.596, allocations: 32.64 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.5962, allocations: 9.031 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.5964, allocations: 156.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.5966, allocations: 0.6848 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.02e-05/0.5967, allocations: 35.94 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.5967, allocations: 11.44 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.602e-06/0.5967, allocations: 3.938 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002923/0.5996, allocations: 0.5655 MB / 1.466 GB, free: 278.7 MB / 0.8542 GB