Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 105.6 kB / 16.27 MB, free: 6 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.00102/0.00102, allocations: 186.1 kB / 17.2 MB, free: 5.613 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002164/0.395, allocations: 0.5758 MB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.3953, allocations: 52.8 kB / 0.5679 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.3954, allocations: 0 / 0.5679 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3954, allocations: 3.938 kB / 0.5679 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.3954, allocations: 0 / 0.5679 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.3957, allocations: 23.69 kB / 0.5679 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.321e-05/0.3958, allocations: 29.39 kB / 0.568 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.3959, allocations: 3.562 kB / 0.568 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.3959, allocations: 11.17 kB / 0.568 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.396, allocations: 12.83 kB / 0.568 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.396, allocations: 2.656 kB / 0.568 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.3961, allocations: 15.33 kB / 0.568 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.3961, allocations: 20.52 kB / 0.568 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3962, allocations: 8.375 kB / 0.568 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3963, allocations: 32.23 kB / 0.5681 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3963, allocations: 1 kB / 0.5681 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3963, allocations: 4.5 kB / 0.5681 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3963, allocations: 1.469 kB / 0.5681 GB, free: 32.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003185/0.3966, allocations: 343.3 kB / 0.5684 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3967, allocations: 10.12 kB / 0.5684 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.3967, allocations: 38.64 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3968, allocations: 2.906 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.3968, allocations: 169.1 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3969, allocations: 3.844 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3969, allocations: 3.766 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.397, allocations: 65.77 kB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3971, allocations: 4.562 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3971, allocations: 5.312 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3971, allocations: 5.938 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3973, allocations: 104.9 kB / 0.5688 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.3974, allocations: 173.8 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3976, allocations: 67.73 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.3976, allocations: 33.95 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.3979, allocations: 408 kB / 0.5694 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3979, allocations: 32.67 kB / 0.5695 GB, free: 30.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3979, allocations: 0 / 0.5695 GB, free: 30.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002629/0.3982, allocations: 122.5 kB / 0.5696 GB, free: 30.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3982, allocations: 53.22 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.698e-05/0.3983, allocations: 96.52 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.3983, allocations: 28.67 kB / 0.5698 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.33e-05/0.3983, allocations: 80.14 kB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.3983, allocations: 21.64 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.3984, allocations: 32.09 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.3985, allocations: 319 kB / 0.5702 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.3985, allocations: 19.66 kB / 0.5702 GB, free: 30.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.3986, allocations: 21.38 kB / 0.5702 GB, free: 30.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3987, allocations: 63.83 kB / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3987, allocations: 0 / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001397/0.3988, allocations: 91.48 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3988, allocations: 10.34 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3989, allocations: 1.062 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3989, allocations: 0.7812 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.399, allocations: 19.03 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.399, allocations: 2.406 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.399, allocations: 9.438 kB / 0.5704 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.399, allocations: 3.938 kB / 0.5704 GB, free: 30.12 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.00012/0.3992, allocations: 125.4 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.3992, allocations: 11.75 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3994, allocations: 122.8 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3994, allocations: 6.031 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3994, allocations: 5.875 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3994, allocations: 0 / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.3996, allocations: 174.6 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3996, allocations: 0.8906 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.3996, allocations: 22.94 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3996, allocations: 5.625 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3997, allocations: 6.516 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3997, allocations: 1.156 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3997, allocations: 0.7031 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.3998, allocations: 122.5 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.3998, allocations: 85.19 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3999, allocations: 5.812 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.3999, allocations: 0 / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3999, allocations: 8.906 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3999, allocations: 6.906 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.423e-05/0.4, allocations: 77.19 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.4, allocations: 0.5 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.4002, allocations: 15.56 kB / 0.5712 GB, free: 29.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003552/0.4005, allocations: 0.6735 MB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.4007, allocations: 72.34 kB / 0.5719 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4007, allocations: 0 / 0.5719 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.4007, allocations: 38 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.4009, allocations: 6.469 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.4013, allocations: 181.9 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4014, allocations: 0.6824 MB / 0.5728 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.4015, allocations: 36.31 kB / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.4015, allocations: 19.41 kB / 0.5729 GB, free: 27.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4015, allocations: 1.906 kB / 0.5729 GB, free: 27.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.505, allocations: 1.525 MB / 0.5743 GB, free: 27.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/8.047, allocations: 14.67 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)