Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 181.1 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000874/0.0008736, allocations: 97.77 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 14.78 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001877/0.222, allocations: 1.252 MB / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003976/0.2224, allocations: 128.5 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.2225, allocations: 0 / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.2225, allocations: 3.938 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.2226, allocations: 0 / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.2228, allocations: 27.91 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.223, allocations: 27.92 kB / 0.9009 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.2231, allocations: 15.98 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.2231, allocations: 15.98 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.2232, allocations: 15.92 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2232, allocations: 0 / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.2233, allocations: 11.98 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.2233, allocations: 11.94 kB / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.2233, allocations: 25.7 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.315e-05/0.2234, allocations: 31.94 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2235, allocations: 0 / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2235, allocations: 4 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2235, allocations: 0 / 0.901 GB, free: 63.95 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.0004802/0.224, allocations: 351.4 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.224, allocations: 8.031 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.2241, allocations: 12.78 kB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.2242, allocations: 168.6 kB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2242, allocations: 384 / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2242, allocations: 8.375 kB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.2245, allocations: 74.16 kB / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2245, allocations: 192 / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2246, allocations: 3.938 kB / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2246, allocations: 0 / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.2249, allocations: 59.95 kB / 0.9017 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.2253, allocations: 276.7 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.2259, allocations: 70.53 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.226, allocations: 28.84 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.2263, allocations: 401.5 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2263, allocations: 34.56 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.826e-06/0.2263, allocations: 0 / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006345/0.227, allocations: 117.8 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.227, allocations: 51.41 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.2271, allocations: 109.8 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2271, allocations: 25.7 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2272, allocations: 88.14 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2272, allocations: 3.906 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.2272, allocations: 0 / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.2273, allocations: 314.8 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2275, allocations: 23.97 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.2276, allocations: 31.97 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2278, allocations: 31.91 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.2278, allocations: 0 / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003765/0.2282, allocations: 89.56 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2283, allocations: 8 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2283, allocations: 3.938 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2283, allocations: 0 / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2284, allocations: 11.98 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2285, allocations: 4 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2286, allocations: 23.86 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.2286, allocations: 0 / 0.9034 GB, free: 61.25 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.963e-05/0.2287, allocations: 117.8 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.2287, allocations: 4 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.2292, allocations: 89.86 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2292, allocations: 4 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2292, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.2292, allocations: 84.95 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2293, allocations: 3.984 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2294, allocations: 8 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.2295, allocations: 15.86 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000448/0.2299, allocations: 172.9 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004068/0.2304, allocations: 254.8 kB / 0.9041 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001761/0.2306, allocations: 35.91 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.2306, allocations: 87.27 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Backend: time 7.91e-07/0.2306, allocations: 4 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.2313, allocations: 116.2 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004775/0.2318, allocations: 0.5681 MB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.003833/0.2356, allocations: 0.7324 MB / 0.9056 GB, free: 58.86 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)