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.001562/0.001563, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001802/0.001802, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7871/0.7871, allocations: 122.9 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3956, allocations: 77.91 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002543/0.3982, allocations: 1.588 MB / 0.5682 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.3985, allocations: 127.8 kB / 0.5683 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.3985, allocations: 0 / 0.5683 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.3986, allocations: 7.141 kB / 0.5684 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.3986, allocations: 8.625 kB / 0.5684 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3989, allocations: 26.27 kB / 0.5684 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.399, allocations: 40.3 kB / 0.5684 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3991, allocations: 13.33 kB / 0.5684 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.3991, allocations: 15.53 kB / 0.5685 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.017e-05/0.3992, allocations: 17.88 kB / 0.5685 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3992, allocations: 4.219 kB / 0.5685 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.3993, allocations: 22.05 kB / 0.5685 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3993, allocations: 7.594 kB / 0.5685 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.3993, allocations: 13.28 kB / 0.5685 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3994, allocations: 45.06 kB / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3994, allocations: 2.062 kB / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3994, allocations: 0 / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3994, allocations: 0 / 0.5686 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.0003909/0.3998, allocations: 355.1 kB / 0.5689 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3999, allocations: 9.625 kB / 0.5689 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3999, allocations: 8.719 kB / 0.5689 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.4, allocations: 171 kB / 0.5691 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.4, allocations: 5.844 kB / 0.5691 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4001, allocations: 5 kB / 0.5691 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4002, allocations: 62.52 kB / 0.5691 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4003, allocations: 1.266 kB / 0.5692 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4003, allocations: 5.562 kB / 0.5692 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4003, allocations: 1.594 kB / 0.5692 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.4005, allocations: 48.03 kB / 0.5692 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.4008, allocations: 286.9 kB / 0.5695 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.4012, allocations: 57.8 kB / 0.5695 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.4013, allocations: 29.36 kB / 0.5696 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.4015, allocations: 398.3 kB / 0.5699 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.4015, allocations: 32.66 kB / 0.57 GB, free: 29.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.4015, allocations: 5.141 kB / 0.57 GB, free: 29.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003701/0.4019, allocations: 97.8 kB / 0.5701 GB, free: 29.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.4019, allocations: 52.25 kB / 0.5701 GB, free: 29.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.402, allocations: 108.2 kB / 0.5702 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.402, allocations: 26.55 kB / 0.5702 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.402, allocations: 87.52 kB / 0.5703 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.402, allocations: 7.562 kB / 0.5703 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.4021, allocations: 18.61 kB / 0.5704 GB, free: 29.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.4021, allocations: 317.6 kB / 0.5707 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.4022, allocations: 21.05 kB / 0.5707 GB, free: 29.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.4023, allocations: 21.58 kB / 0.5707 GB, free: 29.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4025, allocations: 55.42 kB / 0.5708 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4025, allocations: 0 / 0.5708 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.4027, allocations: 75.2 kB / 0.5708 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4027, allocations: 9.281 kB / 0.5708 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4028, allocations: 0 / 0.5708 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4028, allocations: 4.594 kB / 0.5708 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.4029, allocations: 14.73 kB / 0.5709 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4029, allocations: 4 kB / 0.5709 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.4029, allocations: 15.14 kB / 0.5709 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.403, allocations: 0 / 0.5709 GB, free: 29.14 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.158e-05/0.403, allocations: 114 kB / 0.571 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.403, allocations: 1.734 kB / 0.571 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.4033, allocations: 91.03 kB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4033, allocations: 0 / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4033, allocations: 1.156 kB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4033, allocations: 1.078 kB / 0.5711 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4035, allocations: 169.8 kB / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4035, allocations: 1.156 kB / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.4035, allocations: 14.42 kB / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4036, allocations: 2.469 kB / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4036, allocations: 0 / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4036, allocations: 2.062 kB / 0.5712 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4036, allocations: 0.8438 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.4038, allocations: 175.1 kB / 0.5714 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.4038, allocations: 79.41 kB / 0.5715 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4039, allocations: 2.703 kB / 0.5715 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.404, allocations: 8.328 kB / 0.5715 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.404, allocations: 8.75 kB / 0.5715 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.404, allocations: 2.391 kB / 0.5715 GB, free: 28.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.4041, allocations: 92.05 kB / 0.5716 GB, free: 28.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4041, allocations: 0.5312 kB / 0.5716 GB, free: 28.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.4043, allocations: 8.5 kB / 0.5716 GB, free: 28.44 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.0001212/0.4044, allocations: 112.3 kB / 0.5717 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.4047, allocations: 46.91 kB / 0.5718 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4047, allocations: 0.5625 kB / 0.5718 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4048, allocations: 31.8 kB / 0.5718 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4051, allocations: 6.641 kB / 0.5718 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.4054, allocations: 135.5 kB / 0.5719 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.866e-05/0.4055, allocations: 0.6792 MB / 0.5726 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.4055, allocations: 8.25 kB / 0.5726 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.4055, allocations: 16.48 kB / 0.5726 GB, free: 27.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4055, allocations: 1.281 kB / 0.5726 GB, free: 27.49 MB / 446.1 MB Notification: Performance of Templates: time 0.00295/0.4085, allocations: 0.6942 MB / 0.5733 GB, free: 27.43 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)