Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 174.2 kB / 327.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008173, allocations: 86.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 9.656 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001663/0.245, allocations: 1.26 MB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.2454, allocations: 136.5 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.2454, allocations: 0 / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.2454, allocations: 0 / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.2455, allocations: 3.938 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.2458, allocations: 23.97 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.2458, allocations: 35.92 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.2459, allocations: 19.98 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.246, allocations: 7.938 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.246, allocations: 19.91 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.246, allocations: 4 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.2461, allocations: 15.98 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.2461, allocations: 3.984 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.2462, allocations: 41.58 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.2463, allocations: 27.94 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2463, allocations: 0 / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2463, allocations: 4 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2463, allocations: 0 / 0.903 GB, free: 61.87 MB / 0.6042 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.000444/0.2468, allocations: 356.4 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2468, allocations: 8.031 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.2468, allocations: 8.844 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/0.2469, allocations: 160.4 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.247, allocations: 4.375 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.247, allocations: 8.312 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.2472, allocations: 70.22 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2472, allocations: 192 / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2472, allocations: 7.938 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2472, allocations: 0 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.2474, allocations: 55.95 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.2478, allocations: 276.7 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.2481, allocations: 66.53 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.2482, allocations: 32.91 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.2485, allocations: 401.5 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2485, allocations: 34.56 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2485, allocations: 7.875 kB / 0.9044 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003755/0.2489, allocations: 117.5 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2489, allocations: 51.41 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.249, allocations: 113.8 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.249, allocations: 25.7 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.249, allocations: 92.05 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.2491, allocations: 11.91 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.2491, allocations: 0 / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2491, allocations: 314.8 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.2492, allocations: 27.97 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.2493, allocations: 27.98 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2495, allocations: 56.81 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2495, allocations: 0 / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/0.2497, allocations: 89.59 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2497, allocations: 4 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2498, allocations: 0 / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2498, allocations: 0 / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.2499, allocations: 23.98 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2499, allocations: 0 / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.2499, allocations: 7.984 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.25, allocations: 4 kB / 0.9054 GB, free: 59.14 MB / 0.6042 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.25, allocations: 109.8 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.25, allocations: 7.906 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.2503, allocations: 101.8 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2503, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2503, allocations: 7.984 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2503, allocations: 0 / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2505, allocations: 169.6 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2505, allocations: 0 / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.2505, allocations: 19.98 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2506, allocations: 0 / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2506, allocations: 0 / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2506, allocations: 3.984 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2506, allocations: 0 / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2508, allocations: 191.4 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.2508, allocations: 81.02 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2509, allocations: 0 / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.2509, allocations: 8 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.251, allocations: 12.34 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.251, allocations: 4 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.2511, allocations: 91.27 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2511, allocations: 0 / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002188/0.2513, allocations: 11.94 kB / 0.9061 GB, free: 58.24 MB / 0.6042 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.2514, allocations: 99.25 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2517, allocations: 63.94 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2517, allocations: 0 / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.2518, allocations: 31.97 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.252, allocations: 7.938 kB / 0.9063 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.2523, allocations: 162.2 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2525, allocations: 0.6809 MB / 0.9072 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2525, allocations: 11.42 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2525, allocations: 0 / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.002105/0.2546, allocations: 0.7809 MB / 0.9079 GB, free: 56.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)