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.001099/0.0011, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.00113/0.00113, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.301/1.301, 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001607/0.001607, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.218, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002476/0.2206, allocations: 1.533 MB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.2209, allocations: 128.4 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.2209, allocations: 4 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.221, allocations: 3.938 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.221, allocations: 0 / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2213, allocations: 39.89 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.2214, allocations: 35.91 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.2215, allocations: 11.94 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.2215, allocations: 11.98 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.2215, allocations: 31.91 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2216, allocations: 4 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.2216, allocations: 15.98 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.2217, allocations: 11.94 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2217, allocations: 11.92 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2218, allocations: 39.88 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2218, allocations: 3.938 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2218, allocations: 4 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2218, allocations: 0 / 0.7866 GB, free: 1.262 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.0004665/0.2223, allocations: 367.3 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2223, allocations: 8.031 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2224, allocations: 4.938 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2225, allocations: 168.3 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2225, allocations: 4.375 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2226, allocations: 4.375 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2228, allocations: 66.22 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2228, allocations: 192 / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2228, allocations: 3.938 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2228, allocations: 4 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.223, allocations: 47.89 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.2234, allocations: 280.7 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2237, allocations: 54.59 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2238, allocations: 28.83 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3299/0.5537, allocations: 399.7 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5538, allocations: 35.16 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.5538, allocations: 0 / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004424/0.5542, allocations: 91.36 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.599e-05/0.5543, allocations: 54.97 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.5543, allocations: 109 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.5543, allocations: 28.23 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.5544, allocations: 91.12 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.5544, allocations: 7.562 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.5544, allocations: 15.11 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.5545, allocations: 314.8 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.5546, allocations: 18.72 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.5547, allocations: 22.19 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5549, allocations: 46.98 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5549, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001989/0.5551, allocations: 84.91 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5551, allocations: 5.688 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5551, allocations: 3.531 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5551, allocations: 6.406 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.5552, allocations: 12.61 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5552, allocations: 3 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.5553, allocations: 9.219 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5553, allocations: 0 / 0.7889 GB, free: 47.79 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 4.269e-05/0.5553, allocations: 108.8 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.5554, allocations: 12.41 kB / 0.789 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.5556, allocations: 84.59 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5556, allocations: 0.5625 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5556, allocations: 1.375 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.5557, allocations: 86.34 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.5557, allocations: 0 / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.5558, allocations: 10 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.5558, allocations: 6.25 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002399/0.5561, allocations: 169 kB / 0.7894 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002176/0.5563, allocations: 246.5 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.307e-05/0.5564, allocations: 26.58 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.5564, allocations: 85.88 kB / 0.7897 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of Backend: time 4.71e-07/0.5564, allocations: 0.75 kB / 0.7897 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.5569, allocations: 109 kB / 0.7898 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000335/0.5572, allocations: 0.5678 MB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002815/0.56, allocations: 0.8632 MB / 0.7912 GB, free: 46.52 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)