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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 105 kB / 16.36 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 195.5 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 75.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002632/0.2392, allocations: 1.526 MB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.2396, allocations: 128.4 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.2396, allocations: 0 / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.2397, allocations: 3.938 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.2397, allocations: 7.984 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.24, allocations: 31.91 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.2401, allocations: 31.86 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2402, allocations: 23.98 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.2402, allocations: 11.98 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.2403, allocations: 19.92 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2403, allocations: 0 / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.2404, allocations: 19.98 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2404, allocations: 11.92 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2404, allocations: 11.94 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2406, allocations: 51.8 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2406, allocations: 7.938 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2406, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2406, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 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.0004594/0.2411, allocations: 351.4 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2411, allocations: 8.031 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2411, allocations: 4.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2413, allocations: 168.3 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2413, allocations: 8.375 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2413, allocations: 4.375 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2415, allocations: 70.22 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2415, allocations: 192 / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2415, allocations: 3.938 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2415, allocations: 0 / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.2417, allocations: 51.88 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2421, allocations: 276.7 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2424, allocations: 62.59 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/0.2425, allocations: 24.84 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3395/0.5821, allocations: 397.8 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5821, allocations: 33.5 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.5821, allocations: 0 / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004382/0.5826, allocations: 95.7 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.5826, allocations: 54.66 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.5827, allocations: 112 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.5827, allocations: 27.61 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.5827, allocations: 90.08 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.5828, allocations: 9.375 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.5828, allocations: 15.66 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.5829, allocations: 319.7 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.811e-05/0.5829, allocations: 19.7 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.583, allocations: 22.47 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5832, allocations: 47.03 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5832, allocations: 7 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001839/0.5834, allocations: 79.58 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5834, allocations: 3.094 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5834, allocations: 0 / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5834, allocations: 5.125 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.5835, allocations: 10.34 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5835, allocations: 0 / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.5836, allocations: 9 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.5836, allocations: 0 / 0.7889 GB, free: 47.75 MB / 0.6544 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,rea2Int.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.304e-05/0.5837, allocations: 119.2 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.5837, allocations: 5.656 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.584, allocations: 84.5 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.584, allocations: 0 / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.584, allocations: 0 / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.584, allocations: 3.719 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.5841, allocations: 166.8 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5841, allocations: 1.188 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.5842, allocations: 13.22 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5842, allocations: 3.328 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.5842, allocations: 2.469 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5842, allocations: 0 / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5843, allocations: 0 / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.5845, allocations: 179.1 kB / 0.7895 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.5845, allocations: 83.58 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5845, allocations: 1 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.5846, allocations: 6.438 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.5847, allocations: 10.72 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5847, allocations: 0 / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.5847, allocations: 88.05 kB / 0.7896 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5847, allocations: 0.5312 kB / 0.7896 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002368/0.585, allocations: 11.88 kB / 0.7896 GB, free: 47.11 MB / 0.6544 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.0001294/0.5851, allocations: 106.1 kB / 0.7898 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.5853, allocations: 50.41 kB / 0.7898 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5853, allocations: 2.906 kB / 0.7898 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.5854, allocations: 26 kB / 0.7898 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.5857, allocations: 11.33 kB / 0.7898 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.586, allocations: 122.2 kB / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.729e-05/0.5861, allocations: 0.6831 MB / 0.7906 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.5862, allocations: 5.094 kB / 0.7906 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.5862, allocations: 10.44 kB / 0.7906 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.5862, allocations: 0 / 0.7906 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.0027/0.5889, allocations: 0.7618 MB / 0.7914 GB, free: 46.21 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)