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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001365/0.001365, allocations: 197.6 kB / 376.9 MB, free: 1.797 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.345/1.345, allocations: 205 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.000863, allocations: 94.59 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2239, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002687/0.2267, allocations: 1.602 MB / 0.9838 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.2271, allocations: 132.4 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.2271, allocations: 0 / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.2271, allocations: 0 / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.2272, allocations: 3.938 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2274, allocations: 35.95 kB / 0.9839 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.2275, allocations: 35.92 kB / 0.984 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.2276, allocations: 8 kB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.2276, allocations: 19.92 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.2277, allocations: 19.91 kB / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2277, allocations: 0 / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.2278, allocations: 15.98 kB / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.2278, allocations: 7.938 kB / 0.984 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2278, allocations: 23.86 kB / 0.9841 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.228, allocations: 39.88 kB / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.228, allocations: 0 / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.62e-07/0.228, allocations: 0 / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.228, allocations: 0 / 0.9841 GB, free: 8.449 MB / 0.7136 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.0004133/0.2284, allocations: 355.7 kB / 0.9844 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2284, allocations: 12.03 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2285, allocations: 4.844 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2286, allocations: 168.3 kB / 0.9846 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2286, allocations: 4.375 kB / 0.9846 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2286, allocations: 8.375 kB / 0.9846 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2288, allocations: 58.22 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2288, allocations: 192 / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2288, allocations: 7.938 kB / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2288, allocations: 0 / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.229, allocations: 47.95 kB / 0.9847 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.2294, allocations: 288.6 kB / 0.985 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.2297, allocations: 54.53 kB / 0.9851 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.2298, allocations: 28.89 kB / 0.9851 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.23, allocations: 401.5 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2301, allocations: 34.56 kB / 0.9855 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.2301, allocations: 3.984 kB / 0.9855 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003471/0.2304, allocations: 93.56 kB / 0.9856 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2305, allocations: 55.41 kB / 0.9857 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.2306, allocations: 113.8 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2306, allocations: 25.7 kB / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2306, allocations: 92.05 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2306, allocations: 7.906 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2307, allocations: 17.72 kB / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2308, allocations: 318.8 kB / 0.9862 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.2309, allocations: 19.98 kB / 0.9862 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.231, allocations: 19.97 kB / 0.9862 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2311, allocations: 44.83 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2311, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.2314, allocations: 81.58 kB / 0.9864 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2314, allocations: 4 kB / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2314, allocations: 0 / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2314, allocations: 0 / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.2315, allocations: 11.98 kB / 0.9864 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2315, allocations: 4 kB / 0.9864 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.2316, allocations: 7.984 kB / 0.9864 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2316, allocations: 8.25 kB / 0.9864 GB, free: 5.777 MB / 0.7136 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 7.964e-05/0.2317, allocations: 117.8 kB / 0.9865 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.2317, allocations: 7.906 kB / 0.9865 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.2319, allocations: 85.47 kB / 0.9866 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.232, allocations: 4 kB / 0.9866 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.232, allocations: 0 / 0.9866 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.232, allocations: 4 kB / 0.9866 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2321, allocations: 173.6 kB / 0.9868 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2321, allocations: 0 / 0.9868 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.2322, allocations: 7.984 kB / 0.9868 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2322, allocations: 4 kB / 0.9868 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2322, allocations: 0 / 0.9868 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2322, allocations: 0 / 0.9868 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2322, allocations: 0 / 0.9868 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.2328, allocations: 0.7396 MB / 0.9875 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.2328, allocations: 85.44 kB / 0.9876 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2328, allocations: 0 / 0.9876 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.2329, allocations: 11.92 kB / 0.9876 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.233, allocations: 19.92 kB / 0.9876 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.233, allocations: 0 / 0.9876 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.233, allocations: 83.28 kB / 0.9877 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 0 / 0.9877 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003062/0.2333, allocations: 19.92 kB / 0.9877 GB, free: 4.277 MB / 0.7136 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.0001311/0.2335, allocations: 103.2 kB / 0.9878 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.2337, allocations: 51.89 kB / 0.9879 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2337, allocations: 0 / 0.9879 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.2338, allocations: 27.97 kB / 0.9879 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2341, allocations: 5.828 kB / 0.9879 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2344, allocations: 221.9 kB / 0.9881 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2346, allocations: 0.6848 MB / 0.9888 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.2347, allocations: 4 kB / 0.9888 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.2347, allocations: 15.44 kB / 0.9888 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of SimCode: time 2.525e-06/0.2347, allocations: 0 / 0.9888 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.002482/0.2372, allocations: 0.6881 MB / 0.9895 GB, free: 2.414 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)