Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.76/2.76, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001312, allocations: 181.2 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.544/2.544, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 91.98 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007481/0.0007481, allocations: 11.53 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2402, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001923/0.2422, allocations: 1.248 MB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.2427, allocations: 132.5 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.2427, allocations: 4 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2428, allocations: 3.938 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.2428, allocations: 0 / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.2431, allocations: 31.89 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.2432, allocations: 27.92 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.2433, allocations: 8 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.2433, allocations: 11.98 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.2434, allocations: 23.84 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2434, allocations: 8 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.2435, allocations: 11.98 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.2435, allocations: 7.938 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.2436, allocations: 29.7 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.038e-05/0.2437, allocations: 27.95 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2437, allocations: 0 / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2437, allocations: 0 / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2437, allocations: 0 / 0.9006 GB, free: 63.82 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.0005042/0.2442, allocations: 353.2 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2443, allocations: 8.031 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.2443, allocations: 8.844 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2444, allocations: 172.6 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.2445, allocations: 8.312 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2445, allocations: 384 / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2448, allocations: 74.22 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2448, allocations: 4.125 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2448, allocations: 7.938 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2448, allocations: 0 / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2452, allocations: 51.95 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.2456, allocations: 280.7 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.2461, allocations: 62.53 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2463, allocations: 32.91 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.2465, allocations: 405.5 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.2466, allocations: 30.56 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.2466, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005881/0.2472, allocations: 113.6 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2472, allocations: 51.41 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.2473, allocations: 113.8 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2473, allocations: 25.7 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2474, allocations: 84.14 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2474, allocations: 7.906 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.2474, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.2475, allocations: 314.8 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2477, allocations: 27.97 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2478, allocations: 23.98 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.248, allocations: 31.97 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.248, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003525/0.2484, allocations: 89.5 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2484, allocations: 4 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2484, allocations: 4.312 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2484, allocations: 4 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2486, allocations: 15.92 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2486, allocations: 0 / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2487, allocations: 15.92 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2488, allocations: 3.984 kB / 0.9029 GB, free: 61.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.2488, allocations: 117.8 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2489, allocations: 0 / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.2493, allocations: 93.88 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.2493, allocations: 0 / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2493, allocations: 7.875 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2493, allocations: 12.03 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.2495, allocations: 173.6 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2495, allocations: 4 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2497, allocations: 15.98 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2497, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2497, allocations: 3.984 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2497, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2497, allocations: 4 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.2501, allocations: 179.5 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.2502, allocations: 77.11 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2502, allocations: 4 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2503, allocations: 11.98 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.2504, allocations: 11.98 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2504, allocations: 0 / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.2505, allocations: 91.27 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2505, allocations: 3.938 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00029/0.2508, allocations: 8 kB / 0.9037 GB, free: 60.22 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 (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.0001642/0.251, allocations: 103.2 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.2513, allocations: 55.95 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2514, allocations: 0 / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.2515, allocations: 31.97 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.2519, allocations: 15.88 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.2523, allocations: 132.4 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2525, allocations: 0.6809 MB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.2526, allocations: 7.938 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.2526, allocations: 11.44 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of SimCode: time 1.503e-06/0.2526, allocations: 0 / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.003646/0.2563, allocations: 0.6443 MB / 0.9053 GB, free: 58.49 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)