Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 172.9 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008336/0.0008336, allocations: 94.58 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.648e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7065, allocations: 115.3 MB / 0.9709 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.9005, allocations: 138.3 MB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.9008, allocations: 72.98 kB / 1.106 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00324/0.904, allocations: 1.046 MB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9041, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.9041, allocations: 1.156 kB / 1.107 GB, free: 12.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004212/0.9045, allocations: 353.1 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.9046, allocations: 8.031 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.9046, allocations: 6.906 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9048, allocations: 175 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.9048, allocations: 0 / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.9048, allocations: 12.59 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.905, allocations: 49.62 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.905, allocations: 0.5312 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.905, allocations: 5 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.905, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.9051, allocations: 16 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.9055, allocations: 283.7 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.9057, allocations: 50.56 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.9058, allocations: 17.39 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.9061, allocations: 397.6 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.9061, allocations: 34.55 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.9061, allocations: 0.7812 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001587/0.9063, allocations: 49.64 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.9064, allocations: 60.11 kB / 1.108 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.9064, allocations: 100.3 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.9065, allocations: 25.7 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.9065, allocations: 88.7 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.9065, allocations: 5.188 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9066, allocations: 0 / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9067, allocations: 322.8 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.9067, allocations: 8.906 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.9067, allocations: 4 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.9068, allocations: 14.25 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9068, allocations: 3.938 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.697e-05/0.9069, allocations: 49.59 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9069, allocations: 8 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.9069, allocations: 0 / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.9069, allocations: 3.938 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.9071, allocations: 15.77 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.9071, allocations: 7.094 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.9071, allocations: 7.984 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.9072, allocations: 4 kB / 1.109 GB, free: 9.996 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: 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 6.692e-05/0.9072, allocations: 109.1 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.9073, allocations: 3.984 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.9074, allocations: 68.52 kB / 1.109 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9074, allocations: 0 / 1.109 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9075, allocations: 0 / 1.109 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9075, allocations: 0 / 1.109 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.9077, allocations: 174.5 kB / 1.109 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9077, allocations: 0 / 1.109 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.9078, allocations: 23.92 kB / 1.109 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.9078, allocations: 0 / 1.109 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.9078, allocations: 0 / 1.109 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.9078, allocations: 5.484 kB / 1.109 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.9078, allocations: 0 / 1.109 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.908, allocations: 147.5 kB / 1.11 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.9081, allocations: 77.11 kB / 1.11 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.9081, allocations: 4 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.9082, allocations: 11.98 kB / 1.11 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.9083, allocations: 8 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.9083, allocations: 3.984 kB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.9083, allocations: 91.22 kB / 1.11 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9083, allocations: 0 / 1.11 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002216/0.9086, allocations: 19.84 kB / 1.11 GB, free: 9.164 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: 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.0001536/0.9087, allocations: 111.2 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.9088, allocations: 28 kB / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9088, allocations: 0 / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.9089, allocations: 8 kB / 1.11 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.9091, allocations: 7.953 kB / 1.11 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.9093, allocations: 75.31 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.9096, allocations: 0.686 MB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.9096, allocations: 10.19 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.9097, allocations: 11.42 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9097, allocations: 0 / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.002762/0.9124, allocations: 0.6416 MB / 1.111 GB, free: 7.574 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)