Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.008623/0.008623, allocations: 101.7 kB / 15.88 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.001766/0.001766, allocations: 194 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7662/0.7662, allocations: 122.9 MB / 413.5 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001355, allocations: 68.11 kB / 0.4904 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4015, allocations: 77.91 MB / 0.5665 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002832/0.4044, allocations: 1.586 MB / 0.568 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003799/0.4048, allocations: 127.8 kB / 0.5682 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.4048, allocations: 5.906 kB / 0.5682 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.4049, allocations: 0.5625 kB / 0.5682 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.4049, allocations: 5.156 kB / 0.5682 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4052, allocations: 31.58 kB / 0.5682 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.4053, allocations: 35.03 kB / 0.5682 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.4054, allocations: 17.36 kB / 0.5683 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.4054, allocations: 18.33 kB / 0.5683 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.4055, allocations: 17.27 kB / 0.5683 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.4055, allocations: 2.656 kB / 0.5683 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.4056, allocations: 19.08 kB / 0.5683 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.4056, allocations: 4.109 kB / 0.5683 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.4056, allocations: 16.73 kB / 0.5683 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.4058, allocations: 41.42 kB / 0.5684 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4058, allocations: 0 / 0.5684 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.4058, allocations: 6.344 kB / 0.5684 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4058, allocations: 0 / 0.5684 GB, free: 31.38 MB / 446.1 MB 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.0004751/0.4063, allocations: 349.5 kB / 0.5687 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4063, allocations: 10.73 kB / 0.5687 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.4064, allocations: 7.25 kB / 0.5687 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.4065, allocations: 173.1 kB / 0.5689 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4065, allocations: 5.406 kB / 0.5689 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4065, allocations: 2.594 kB / 0.5689 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4067, allocations: 68.44 kB / 0.569 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4067, allocations: 1.312 kB / 0.569 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4068, allocations: 3.938 kB / 0.569 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4068, allocations: 1.219 kB / 0.569 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.407, allocations: 46.11 kB / 0.569 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.4073, allocations: 282.4 kB / 0.5693 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4077, allocations: 57.8 kB / 0.5693 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.4078, allocations: 27.02 kB / 0.5694 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.408, allocations: 400.6 kB / 0.5698 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.408, allocations: 31.5 kB / 0.5698 GB, free: 29.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4081, allocations: 1.656 kB / 0.5698 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003974/0.4085, allocations: 98.23 kB / 0.5699 GB, free: 29.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.4085, allocations: 51.41 kB / 0.5699 GB, free: 29.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.4086, allocations: 113.2 kB / 0.57 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4086, allocations: 26.22 kB / 0.5701 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.4086, allocations: 87.48 kB / 0.5701 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.4086, allocations: 6.422 kB / 0.5701 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.4087, allocations: 20.98 kB / 0.5702 GB, free: 29.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.4087, allocations: 317.7 kB / 0.5705 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.4088, allocations: 19.75 kB / 0.5705 GB, free: 29.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.4089, allocations: 25.75 kB / 0.5705 GB, free: 29.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4091, allocations: 50.91 kB / 0.5706 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4091, allocations: 0 / 0.5706 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/0.4093, allocations: 79.69 kB / 0.5706 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4094, allocations: 7.344 kB / 0.5706 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4094, allocations: 0 / 0.5706 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4094, allocations: 0.875 kB / 0.5706 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.4095, allocations: 11.11 kB / 0.5707 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4095, allocations: 2.156 kB / 0.5707 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.4096, allocations: 14.58 kB / 0.5707 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4096, allocations: 2 kB / 0.5707 GB, free: 29.15 MB / 446.1 MB 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 5.899e-05/0.4096, allocations: 113.6 kB / 0.5708 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.4097, allocations: 3.844 kB / 0.5708 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.4099, allocations: 92.48 kB / 0.5709 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.41, allocations: 6.688 kB / 0.5709 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.41, allocations: 0 / 0.5709 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.41, allocations: 0 / 0.5709 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4101, allocations: 172.3 kB / 0.571 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4101, allocations: 0 / 0.571 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.4102, allocations: 10.83 kB / 0.5711 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4102, allocations: 1.094 kB / 0.5711 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4102, allocations: 5.078 kB / 0.5711 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4102, allocations: 1.969 kB / 0.5711 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4102, allocations: 320 / 0.5711 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.4105, allocations: 172.2 kB / 0.5712 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.4105, allocations: 83.89 kB / 0.5713 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4105, allocations: 1.219 kB / 0.5713 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.4106, allocations: 9.469 kB / 0.5713 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.4107, allocations: 8.859 kB / 0.5713 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.4107, allocations: 2.125 kB / 0.5713 GB, free: 28.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.4107, allocations: 91.34 kB / 0.5714 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4107, allocations: 0 / 0.5714 GB, free: 28.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.411, allocations: 8.875 kB / 0.5714 GB, free: 28.45 MB / 446.1 MB 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.0001458/0.4111, allocations: 102.8 kB / 0.5715 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4114, allocations: 45.81 kB / 0.5716 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4114, allocations: 1.562 kB / 0.5716 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4115, allocations: 34.72 kB / 0.5716 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4118, allocations: 8.25 kB / 0.5716 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.4121, allocations: 132.9 kB / 0.5717 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.4122, allocations: 0.6843 MB / 0.5724 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.4123, allocations: 5.094 kB / 0.5724 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.4123, allocations: 11.28 kB / 0.5724 GB, free: 27.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4123, allocations: 0 / 0.5724 GB, free: 27.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003013/0.4153, allocations: 0.6764 MB / 0.5731 GB, free: 27.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)