Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.583/1.583, allocations: 287.5 MB / 302.6 MB, free: 8.16 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.001002/0.001002, allocations: 180.6 kB / 371.2 MB, free: 10.82 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.684/1.684, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008853, allocations: 91.97 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005377, allocations: 17.42 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2478, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0008808/0.2488, allocations: 315.5 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.2491, allocations: 47.84 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.2491, allocations: 4 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.2492, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-06/0.2492, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.2495, allocations: 11.98 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.2496, allocations: 31.95 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2496, allocations: 4 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.2497, allocations: 4 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.2497, allocations: 19.91 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2497, allocations: 8 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.2498, allocations: 19.98 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2498, allocations: 4 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.2499, allocations: 29.7 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.231e-05/0.2499, allocations: 23.95 kB / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2499, allocations: 0 / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.25, allocations: 0 / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.25, allocations: 0 / 0.9792 GB, free: 27.63 MB / 0.6198 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.0002595/0.2502, allocations: 323.9 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2503, allocations: 8.031 kB / 0.9795 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.2503, allocations: 12.84 kB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.2504, allocations: 168.3 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2504, allocations: 4.375 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2504, allocations: 384 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2506, allocations: 70.16 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2506, allocations: 192 / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2506, allocations: 7.938 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2506, allocations: 3.938 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2507, allocations: 103.9 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2509, allocations: 169.7 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.251, allocations: 78.48 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.2511, allocations: 24.84 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.2513, allocations: 409.5 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2514, allocations: 34.56 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2514, allocations: 0 / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002311/0.2516, allocations: 121.7 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2516, allocations: 59.41 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.2517, allocations: 93.84 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2517, allocations: 29.7 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.2517, allocations: 80.14 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.2518, allocations: 19.66 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.2518, allocations: 4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.2518, allocations: 314.8 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.2519, allocations: 19.98 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.2519, allocations: 24.36 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.69e-05/0.252, allocations: 68.77 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.252, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001008/0.2521, allocations: 85.61 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2521, allocations: 4 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2521, allocations: 11.92 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2522, allocations: 0 / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.2523, allocations: 20 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2523, allocations: 4 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.2523, allocations: 3.906 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.2523, allocations: 7.984 kB / 0.9815 GB, free: 24.98 MB / 0.6198 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.0001239/0.2524, allocations: 121.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.2525, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.2526, allocations: 141.2 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2527, allocations: 4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2527, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2527, allocations: 4 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.2528, allocations: 165.7 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2528, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.2528, allocations: 19.98 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2528, allocations: 3.938 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2529, allocations: 8 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2529, allocations: 7.922 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2529, allocations: 0 / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.253, allocations: 121 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.253, allocations: 96.89 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.253, allocations: 3.984 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.2531, allocations: 4 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.2531, allocations: 4 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2531, allocations: 7.984 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.2531, allocations: 75.28 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2531, allocations: 0 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001987/0.2533, allocations: 20 kB / 0.9823 GB, free: 24.09 MB / 0.6198 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.0001517/0.2535, allocations: 112.4 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2536, allocations: 64.38 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2536, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.2537, allocations: 35.92 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2538, allocations: 16.44 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.2541, allocations: 154.7 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2542, allocations: 0.6809 MB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.2543, allocations: 35.94 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.2543, allocations: 11.44 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2543, allocations: 0 / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.002285/0.2566, allocations: 0.5708 MB / 0.9839 GB, free: 22.36 MB / 0.6198 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)