Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.00155/0.001549, allocations: 180 kB / 325.8 MB, free: 2.801 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.82/2.82, 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.000894/0.0008939, allocations: 84.75 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007161/0.0007163, allocations: 20.95 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2215, allocations: 106.3 MB / 0.8991 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007803/0.2224, allocations: 318.2 kB / 0.8994 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.2227, allocations: 47.89 kB / 0.8994 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.2227, allocations: 0 / 0.8994 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.2227, allocations: 4 kB / 0.8994 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-06/0.2228, allocations: 4 kB / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.223, allocations: 19.91 kB / 0.8994 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.2231, allocations: 23.98 kB / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.2232, allocations: 5.125 kB / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.2232, allocations: 15.92 kB / 0.8995 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.2233, allocations: 11.98 kB / 0.8995 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2233, allocations: 4 kB / 0.8995 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.2234, allocations: 15.98 kB / 0.8995 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.2234, allocations: 7.984 kB / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.2234, allocations: 29.64 kB / 0.8995 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.806e-05/0.2235, allocations: 27.97 kB / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2235, allocations: 0 / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2235, allocations: 0 / 0.8996 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2236, allocations: 0 / 0.8996 GB, free: 64.89 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002594/0.2238, allocations: 331.5 kB / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2239, allocations: 8.031 kB / 0.8999 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2239, allocations: 4.938 kB / 0.8999 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.721e-05/0.224, allocations: 168.3 kB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.224, allocations: 384 / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.224, allocations: 4.375 kB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2242, allocations: 62.17 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2242, allocations: 192 / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2243, allocations: 11.94 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2243, allocations: 4 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.2245, allocations: 103.9 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.2246, allocations: 177.7 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2248, allocations: 74.53 kB / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.2249, allocations: 24.84 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.2251, allocations: 405.5 kB / 0.9009 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2252, allocations: 38.5 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.2252, allocations: 4 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002977/0.2255, allocations: 117.8 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.2255, allocations: 55.41 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.861e-05/0.2256, allocations: 93.77 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2256, allocations: 29.7 kB / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.2256, allocations: 80.14 kB / 0.9013 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2257, allocations: 15.75 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.2257, allocations: 4 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.2257, allocations: 322.8 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.2258, allocations: 19.98 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.2259, allocations: 19.98 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.226, allocations: 27.92 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.226, allocations: 4 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001782/0.2262, allocations: 90.17 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2262, allocations: 4 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2262, allocations: 7.938 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2262, allocations: 0 / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2264, allocations: 27.98 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2264, allocations: 4 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.2264, allocations: 0 / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2265, allocations: 4 kB / 0.9018 GB, free: 62.28 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: 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.0001211/0.2266, allocations: 125.8 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2266, allocations: 3.906 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2269, allocations: 133.5 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2269, allocations: 4 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2269, allocations: 0 / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.227, allocations: 7.922 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2271, allocations: 177.5 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2271, allocations: 0 / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2272, allocations: 23.92 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2273, allocations: 3.938 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2273, allocations: 8 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.2273, allocations: 0 / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2273, allocations: 0 / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2275, allocations: 117.1 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.2275, allocations: 88.95 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2275, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.594e-05/0.2276, allocations: 4 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2276, allocations: 11.92 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2277, allocations: 4 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.2277, allocations: 75.28 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2277, allocations: 0 / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002431/0.2279, allocations: 20 kB / 0.9026 GB, free: 61.38 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: 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.0001588/0.2281, allocations: 111.2 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2283, allocations: 55.97 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2283, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.2284, allocations: 39.91 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.2286, allocations: 11.94 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.2288, allocations: 142.7 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.229, allocations: 0.6809 MB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.2291, allocations: 43.78 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.2291, allocations: 15.44 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2292, allocations: 0 / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.003073/0.2322, allocations: 0.5734 MB / 0.9042 GB, free: 59.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)