Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001016/0.001016, allocations: 176.8 kB / 366.7 MB, free: 1.676 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.315/1.315, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0008607/0.0008608, allocations: 87.02 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.94e-05, allocations: 8 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6609, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.8604, allocations: 138.6 MB / 1.109 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.8606, allocations: 67.97 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003091/0.8637, allocations: 1.047 MB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8637, allocations: 0 / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8637, allocations: 0.5938 kB / 1.11 GB, free: 10.52 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.0004519/0.8642, allocations: 351.2 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.8643, allocations: 12.78 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.8643, allocations: 7.906 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.8645, allocations: 163 kB / 1.11 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.8645, allocations: 8.438 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.8646, allocations: 0.5312 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.8647, allocations: 21.53 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8648, allocations: 50.55 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.8648, allocations: 0 / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.8648, allocations: 0 / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8649, allocations: 0.6875 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.8654, allocations: 255 kB / 1.111 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.8656, allocations: 44.91 kB / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.8656, allocations: 16.92 kB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.866, allocations: 397.7 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.8661, allocations: 39.2 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8661, allocations: 0 / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002772/0.8664, allocations: 54.91 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8664, allocations: 51.41 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.8665, allocations: 96.56 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.8666, allocations: 25.7 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.8666, allocations: 88.05 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.8667, allocations: 5.375 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.8667, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8668, allocations: 326.7 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.8668, allocations: 12.91 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.8669, allocations: 4 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.8669, allocations: 11.16 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8669, allocations: 0 / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.539e-05/0.867, allocations: 45.69 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.867, allocations: 13.03 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.8671, allocations: 3.094 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8671, allocations: 0 / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.8672, allocations: 11.98 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-06/0.8672, allocations: 0 / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.8673, allocations: 11.98 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.8673, allocations: 0.875 kB / 1.112 GB, free: 8.176 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 8.352e-05/0.8674, allocations: 110.3 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8674, allocations: 0 / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.8676, allocations: 63.92 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8676, allocations: 0.875 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8676, allocations: 0 / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.8676, allocations: 8 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.8678, allocations: 150.1 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8678, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.8679, allocations: 22.42 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8679, allocations: 0 / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.8679, allocations: 0 / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8679, allocations: 3.562 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8679, allocations: 0 / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.8681, allocations: 150.1 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.8681, allocations: 85.05 kB / 1.112 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.8681, allocations: 4 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.8682, allocations: 4 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.8683, allocations: 11.92 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.8683, allocations: 0 / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.8683, allocations: 83.28 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8683, allocations: 0 / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002216/0.8686, allocations: 27.92 kB / 1.112 GB, free: 7.387 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.0001534/0.8687, allocations: 103.2 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.8688, allocations: 19.98 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8688, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.8689, allocations: 12 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.869, allocations: 4 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.8693, allocations: 70.56 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.8695, allocations: 0.6885 MB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.8696, allocations: 4 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.8696, allocations: 7.438 kB / 1.113 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8696, allocations: 3.938 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.002392/0.872, allocations: 0.5913 MB / 1.114 GB, free: 5.859 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)