Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 284.8 MB / 297.3 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001462, allocations: 172.9 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.2 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 95.77 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.116e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8714, allocations: 115.2 MB / 0.97 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/1.127, allocations: 137.1 MB / 1.104 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.127, allocations: 74.48 kB / 1.104 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002806/1.13, allocations: 0.8259 MB / 1.105 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.13, allocations: 0 / 1.105 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.13, allocations: 4 kB / 1.105 GB, free: 14.45 MB / 0.7136 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.0003145/1.131, allocations: 325.8 kB / 1.105 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.131, allocations: 8.031 kB / 1.105 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/1.131, allocations: 10.39 kB / 1.105 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.131, allocations: 171 kB / 1.105 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.131, allocations: 3.938 kB / 1.105 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.131, allocations: 10.72 kB / 1.105 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/1.131, allocations: 66.23 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.131, allocations: 2.469 kB / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.131, allocations: 0 / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.131, allocations: 0 / 1.105 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/1.131, allocations: 99.88 kB / 1.105 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/1.132, allocations: 173.6 kB / 1.106 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/1.132, allocations: 78.98 kB / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/1.132, allocations: 25.7 kB / 1.106 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/1.132, allocations: 406 kB / 1.106 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.132, allocations: 31.58 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/1.132, allocations: 2.094 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002825/1.133, allocations: 94.83 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.133, allocations: 51.41 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/1.133, allocations: 93 kB / 1.106 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.133, allocations: 25.7 kB / 1.106 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/1.133, allocations: 82.39 kB / 1.106 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/1.133, allocations: 27.64 kB / 1.106 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/1.133, allocations: 0 / 1.106 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.133, allocations: 314.8 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/1.133, allocations: 28.58 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/1.133, allocations: 16 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/1.133, allocations: 29.34 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.133, allocations: 0.8125 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002143/1.133, allocations: 96.03 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.134, allocations: 4 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.134, allocations: 4.219 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.134, allocations: 1.188 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.134, allocations: 19.98 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.134, allocations: 3.938 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/1.134, allocations: 8.438 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/1.134, allocations: 0 / 1.107 GB, free: 11.9 MB / 0.7136 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 () * 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.0001034/1.134, allocations: 118.9 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/1.134, allocations: 3.953 kB / 1.107 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/1.134, allocations: 131.6 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.134, allocations: 0.625 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.134, allocations: 0 / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.134, allocations: 2.188 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/1.135, allocations: 172.8 kB / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/1.135, allocations: 7.984 kB / 1.107 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.135, allocations: 15.94 kB / 1.107 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.135, allocations: 7.953 kB / 1.107 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.135, allocations: 3.984 kB / 1.107 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.135, allocations: 1.125 kB / 1.107 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.135, allocations: 0 / 1.107 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.135, allocations: 124.7 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/1.135, allocations: 77.11 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.135, allocations: 7.938 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/1.135, allocations: 4 kB / 1.108 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/1.135, allocations: 11.94 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.135, allocations: 7.984 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.223e-05/1.135, allocations: 79.22 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.135, allocations: 4 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000273/1.136, allocations: 23.94 kB / 1.108 GB, free: 11.03 MB / 0.7136 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 () * 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.0002201/1.136, allocations: 107.2 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001976/1.136, allocations: 61.34 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.136, allocations: 4 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/1.136, allocations: 31.98 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/1.136, allocations: 4 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/1.137, allocations: 104.6 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.137, allocations: 0.6863 MB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001428/1.137, allocations: 41.12 kB / 1.109 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/1.137, allocations: 11.44 kB / 1.109 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.137, allocations: 4 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.003483/1.141, allocations: 0.5595 MB / 1.109 GB, free: 9.41 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)